Forums > MaxMSP

non repeating random generator with min/max range settings?

February 25, 2013 | 7:42 pm

Does anyone know if an object exists that generates random numbers without repetitions, such as [urn-jb], which also enables you to set the min/max range such as the litter power object [lp.tata]?

thanks


February 25, 2013 | 8:52 pm

I think your best bit would be an abstraction that does a tiny amount of math, wrapped around urn-jb.


February 26, 2013 | 2:03 am

You can do it with [uzi] and some [zl] goodness:

– Pasted Max Patch, click to expand. –

February 26, 2013 | 6:27 am

(edit) some color-coding and got rid of an unneeded object :)

– Pasted Max Patch, click to expand. –

February 26, 2013 | 8:10 am

urn-jb wrapper:

– Pasted Max Patch, click to expand. –

September 14, 2014 | 5:40 am

I was searching today on the topic and even [urn-jb] seemed a bit complicated for what I wanted. here is my contribution: I use [random] and if new output is the same as previous, I retrigger [random].

– Pasted Max Patch, click to expand. –

September 15, 2014 | 4:19 am

use urn … and get the min/max by using an offset (+50?)


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