[sharing] urn with gen~
As I was trying to help on this topic
https://cycling74.com/forums/generate-random-numbers-without-duplicates-in-audio-rate
I ended up making a gen~ version of the max object urn, generating non repeating integer random numbers.
If anyone find a simpler way of doing it, I'm interested.
Max Patch
Copy patch and select New From Clipboard in Max.
the "error avoider" can add some variations to rhythm based things...
Max Patch
Copy patch and select New From Clipboard in Max.
have fun.
How's the following. Only limitation is that the maximum urn size is determined by the internal [data] object.
Of course you could use a buffer~ instead, and that way make the urn data public. Maybe even use the buffer dim as the urn size.
Max Patch
Copy patch and select New From Clipboard in Max.
Hello,
Thank you for your great help !!!
Have a nice day.
My best,
Alex
Thank you for sharing graham, this is great.