changing paramiters of the random button

Jun 30, 2010 at 10:19pm

changing paramiters of the random button

hi.

tried to find this in tutorial and on this forum but can’t

I want to change the start and end numbers of a ‘random’

for example ‘random 128′ bangs random numbers between 0 and 127.

I want to change this so I can have random numbers from say 50 and 70 using a ‘rslider’

the ‘min $1′ and ‘max $1′ are not recognized by the ‘random’

any other ideas.

cheers

#51141
Jun 30, 2010 at 11:50pm

You need to think “outside the object”, so to speak. Try using the rslider selection to set the output range of a scale object, after setting the range of random to your selection size, like this:

– Pasted Max Patch, click to expand. –
#183442
Jul 1, 2010 at 1:03am

this works a treat.

thank you

#183443

You must be logged in to reply to this topic.