Classes | UGens > Generators > Stochastic

Dust2 : UGen : AbstractFunction : Object

Random impulses.
Source: Noise.sc

Description

Generates random impulses from -1 to +1.

Class Methods

Dust2.ar(density: 0, mul: 1, add: 0)

Dust2.kr(density: 0, mul: 1, add: 0)

Arguments:

density

Average number of impulses per second.

mul

Output will be multiplied by this value.

add

This value will be added to the output.

Inherited class methods

Instance Methods

Inherited instance methods

Examples

(
SynthDef("help-Dust2", { arg out=0;
    Out.ar(out,
        Dust2.ar(200, 0.5)
    )
}).play;
)

(
SynthDef("help-Dust2", { arg out=0;
    Out.ar(out,
        Dust2.ar(XLine.kr(20000, 2, 10), 0.5)
    )
}).play;
)