linux: shared memory interface - link with librt
[supercollider.git] / HelpSource / Classes / Dust.schelp
blob260902a96c703a8705b05586c580f20b2bc8bf46
1 class:: Dust
2 summary:: Random impulses.
3 related:: Classes/Dust2
4 categories::  UGens>Generators>Stochastic
7 Description::
9 Generates random impulses from 0 to +1.
12 classmethods::
14 method::ar, kr
16 argument::density
17 Average number of impulses per second.
19 argument::mul
20 Output will be multiplied by this value.
22 argument::add
23 This value will be added to the output.
25 Examples::
27 code::
30 SynthDef("help-Dust", { arg out=0;
31         Out.ar(out,
32                 Dust.ar(200, 0.5)
33         )
34 }).play;
38 SynthDef("help-Dust", { arg out=0;
39         Out.ar(out,
40                 Dust.ar(XLine.kr(20000, 2, 10), 0.5)
41         )
42 }).play;