Added help for Pen and updated some other docs
[supercollider.git] / HelpSource / Classes / Diwhite.schelp
blob9f1835913b3eee0741d8e8da890053ae8e346320
1 class:: Diwhite
2 summary:: Demand rate white noise random generator.
3 related:: Classes/Dwhite, Classes/Demand, Classes/Duty, Classes/TDuty
4 categories:: UGens>Demand
6 Description::
7 link::Classes/Dwhite::  returns numbers in the continuous range between
8 code::lo::  and  code::hi:: .
9 Diwhite returns integer values.
12 The arguments can be a number or any other UGen.
15 See link::Classes/Pwhite::,  link::Classes/WhiteNoise::  for structurally related
16 equivalents.
19 classmethods::
21 method::new
23 argument::lo
25 Minimum value.
28 argument::hi
30 Maximum value.
33 argument::length
35 Number of values to create.
38 Examples::
40 code::
44         var a, freq, trig;
45         a = Diwhite(0, 15, inf);
46         trig = Impulse.kr(MouseX.kr(1, 40, 1));
47         freq = Demand.kr(trig, 0, a) * 30 + 340;
48         SinOsc.ar(freq) * 0.1
50 }.play;