[PD] nub question about random numbers

Claude Heiland-Allen claudiusmaximus at goto10.org
Fri Dec 1 03:51:07 CET 2006


"bang"-[random 381]-[- 80]  will give pseudorandom integers between -80
and 300  (inclusive at both ends of the range).  If you want a different
 granularity than whole numbers, you can increase the number given to
[random] and do a multiplication.

Myo wrote:
> Hello list,
> 
> I've been trying to create a random range of numbers, say, from -80 to 300.
> this seems like it would be very simple, but the answer is eluding me.
> if anyone can help out or point to some help that would be great. Thanks
> alot




More information about the Pd-list mailing list