i’d like to generate lets say 4 random non repeating numbers every time my seed changes. I am trying with pattern chop but there are duplicates. Is there some setting that needs to change or another way i go go about this before i resort to python?
Hi @papsphilip,
An approach would be to create a “Ramp Samples” with a length of the value range you want in your random range. Follow this up with a Sort CHOP set to “Random” and trim to the first 4 samples.
The Non-Repeating Integer option is on a per sample basis, meaning for each sample after pressing the Randomize
pulse parameter, the sample’s value will be different from before.
Random Non-Repeating Integers - This wave type is used in conjunction with the Randomize pulse. Between each Randomize pulse, the random values at each sample will be non-repeating. For example in the simplest case with a channel length of 1, each time Randomize is pulsed the random value of sample 1 after the pulse will be different than the random value before the pulse.
cheers
Markus
sorting the ramp makes total sense! thanks @snaut!