Forums > MaxMSP

Getting random to output a negative range?

June 14, 2009 | 6:42 pm

Hi guys,
i am attempting to get random to output a range from -9000 to 9000. I cant figure out how to do this using the object itself or using an expression in conjunction. Any help will be greatly appreciated.

Thanks,Mike.


June 14, 2009 | 6:46 pm

Try [random 18001] then [- 9000] and the output range will be -9000 to 9000 inclusive.

lh


June 14, 2009 | 6:56 pm

Excellent. Much appreciated! Seems so obvious now but my dim mind just wouldn’t compute. Smile

Cheers,Mike.


June 14, 2009 | 8:14 pm

you can also make something like this (see files for info)


Viewing 4 posts - 1 through 4 (of 4 total)