Hi! New here, obviously; I’m trying to create a synth similar to the example in the Making Connections tutorial, but having the input decided via a random expression, as opposed to the timer node. Is there a formula I can plug into the expression node that could do this? I’ve tried using the random node and the true random module, but it doesn’t work.
Thanks for your help!
1 Like
You want a switch that changes randomly at some arbitrary rate?
To make a random value between 0 and 1, plug the random node into the in of a sample and hold, then send it triggers to get a random value. There is also a module in the library called “gatable sample and hold” that does this for you.
Then map the 0-1 value across the range you need. If the deMux has 8 outs then the value range is 0 to 7.999. If you only use the first 3 outputs the range is 0-2.99.
here is the patch, which you can copy and paste if it it’s what you want.
random demux.audulus (26.4 KB)
2 Likes
Thank you! I actually only have the iPad version right now, but I really appreciate including download link.
2 Likes
arg, I hope the iOS download gets sorted soon
2 Likes
Btw, what type of trigger is that on the far left?
1 Like
If you PM me your email I’ll send the patch to you
1 Like
that is a clock.
2 Likes