47 lines
579 B
Text
47 lines
579 B
Text
|
class:: Dust
|
||
|
summary:: Random impulses.
|
||
|
related:: Classes/Dust2
|
||
|
categories:: UGens>Generators>Stochastic
|
||
|
|
||
|
|
||
|
Description::
|
||
|
|
||
|
Generates random impulses from 0 to +1.
|
||
|
|
||
|
|
||
|
classmethods::
|
||
|
|
||
|
method::ar, kr
|
||
|
|
||
|
argument::density
|
||
|
Average number of impulses per second.
|
||
|
|
||
|
argument::mul
|
||
|
Output will be multiplied by this value.
|
||
|
|
||
|
argument::add
|
||
|
This value will be added to the output.
|
||
|
|
||
|
Examples::
|
||
|
|
||
|
code::
|
||
|
|
||
|
(
|
||
|
SynthDef("help-Dust", { arg out=0;
|
||
|
Out.ar(out,
|
||
|
Dust.ar(200, 0.5)
|
||
|
)
|
||
|
}).play;
|
||
|
)
|
||
|
|
||
|
(
|
||
|
SynthDef("help-Dust", { arg out=0;
|
||
|
Out.ar(out,
|
||
|
Dust.ar(XLine.kr(20000, 2, 10), 0.5)
|
||
|
)
|
||
|
}).play;
|
||
|
)
|
||
|
|
||
|
::
|
||
|
|