Explicitly include a boost "windows" folder even on linux
[supercollider.git] / HelpSource / Classes / Dxrand.schelp
blob77994860d0eb5b8feb92657e766f1731ba0761af
1 class:: Dxrand
2 summary:: Demand rate random sequence generator.
3 related:: Classes/Demand, Classes/Drand, Classes/Dseq, Classes/Dser, Classes/Duty, Classes/TDuty
4 categories:: UGens>Demand
6 Description::
8 Dxrand never plays the same value twice, whereas  link::Classes/Drand::
9 chooses any value in the list.
12 See link::Classes/Pxrand:: for structurally related equivalent.
15 classmethods::
17 method::new
19 argument::list
21 An array of values or other UGens.
24 argument::repeats
26 Number of values to return.
29 Examples::
31 code::
35         var a, freq, trig;
36         a = Dxrand([1, 3, 2, 7, 8], inf);
37         trig = Impulse.kr(MouseX.kr(1, 400, 1));
38         freq = Demand.kr(trig, 0, a) * 30 + 340;
39         SinOsc.ar(freq) * 0.1
41 }.play;