SuperCollider CLASSES

Dwhite

Demand rate white noise random generator.
Inherits from: DUGen : UGen : AbstractFunction : Object
Subclasses: Diwhite

Description

Dwhite returns numbers in the continuous range between lo and hi . Diwhite returns integer values.

The arguments can be a number or any other UGen.

See Pwhite, WhiteNoise for structurally related equivalents.

Class Methods

*new (lo: 0, hi: 1, length: inf)

Arguments:

lo

Minimum value.

hi

Maximum value.

length

Number of values to create.

Inherited class methods

Instance Methods

Inherited instance methods

Examples

(
{
    var a, freq, trig;
    a = Dwhite(0, 15, inf);
    trig = Impulse.kr(MouseX.kr(1, 40, 1));
    freq = Demand.kr(trig, 0, a) * 30 + 340;
    SinOsc.ar(freq) * 0.1

}.play;
)