changing paramiters of the random button

craigam2005's icon

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

Tim Lloyd's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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:

craigam2005's icon

this works a treat.

thank you