RandSeed:
Filter:
Classes | UGens > Generators > Stochastic | UGens > Random

RandSeed : WidthFirstUGen : UGen : AbstractFunction : Object

Sets the synth's random generator seed.
Source: Noise.sc

Description

When the trigger signal changes from nonpositive to positive, the synth's random generator seed is reset to the given value. All synths that use the same random number generator reproduce the same sequence of numbers again.

See RandID UGen for setting the randgen id and Random Seed for the client side equivalent.

Class Methods

RandSeed.kr(trig: 0.0, seed: 56789)

RandSeed.ir(trig: 0.0, seed: 56789)

Arguments:

trig

The trigger. Trigger can be any signal. A trigger happens when the signal changes from non-positive to positive.

seed

The random seed.

Inherited class methods

Undocumented class methods

RandSeed.ar(trig: 0.0, seed: 56789)

Instance Methods

Inherited instance methods

Examples