class library: SynthDef - lazy implementation of removeUGen
[supercollider.git] / HelpSource / Classes / Dwhite.schelp
blob9d607922e184edc9a8f381761610c28772df8a16
1 class:: Dwhite
2 summary:: Demand rate white noise random generator.
3 related:: Classes/Diwhite, Classes/Demand, Classes/Duty, Classes/TDuty
4 categories:: UGens>Demand
6 Description::
8 Dwhite returns numbers in the continuous range between
9 code::lo::  and  code::hi:: .
10 link::Classes/Diwhite::  returns integer values.
13 The arguments can be a number or any other UGen.
16 See link::Classes/Pwhite::,  link::Classes/WhiteNoise::  for structurally related
17 equivalents.
20 classmethods::
22 method::new
24 argument::lo
26 Minimum value.
29 argument::hi
31 Maximum value.
34 argument::length
36 Number of values to create.
39 Examples::
41 code::
45         var a, freq, trig;
46         a = Dwhite(0, 15, inf);
47         trig = Impulse.kr(MouseX.kr(1, 40, 1));
48         freq = Demand.kr(trig, 0, a) * 30 + 340;
49         SinOsc.ar(freq) * 0.1
51 }.play;