Randomize patch parameters
I wonder if there's an easy way to randomize parameters of different kind (int, float, symbol)? I guess the pattr object is the key but how? Any help would be appreciated!
Fill a [coll] with your different "random" values and use [random] or [urn] to send them out in random order
Thanks but how do I connect the parameters with the random number generators? What if I need to connect lots of parameters of different types to generators?
Have a look at the help files and play around with the objects. My explanation will make sense pretty quickly
Will do then, thanks!
What I still want to know is how to bind to multiple parameters and randomise them. How can I access dozens of parameters and bind them to random number generators?
Not sure exactly what you are after, but here is a very basic example.
Hmm, thought about it but it means having to create a random generator to each and every slider, dial etc. Thanks anyway!
Ok, but each parameter is going to need its own range of values, yes? Still not sure what you want, but here's a variation on the approach.
Also, I would like to b able to control the amount of random in percentage applied to the parameters.
In the last example, the input into the third inlet of [drunk 100] does this
You keep blowing my mind. Thanks!
If you use the live.number, live.dial, etc. objects you can use the "rawfloat" message to do randomization within the object's min/max bounds without having to know what they are first.
You can see it in my EML-200 project if you go the sequencer and check out the randomization code.
Here's something I put together to help me randomise incoming float values within +/- a given percentage - it might work for you.
save as sm.within%.maxpat:
and save as sm.within%.maxhelp: