A UGen that resets the seed of the synth's random number generator upon
receiving a trigger. All synths that use the same random number generator
reproduce the same sequence of numbers again. The generator can be set using the
RandID UGen.
Examples
// reset seed via mouse button
play {
val freq = TIRand.kr(40, 100, Impulse.kr(4)).midicps
RandSeed.kr(MouseButton.kr(lag = 0) + Impulse.kr(0), 234)
SinOsc.ar(freq) * 0.2
}
A UGen that resets the seed of the synth's random number generator upon receiving a trigger. All synths that use the same random number generator reproduce the same sequence of numbers again. The generator can be set using the
RandID
UGen.Examples
WhiteNoise
IRand
RandID
Rand