Merge pull request #506 from andrewcsmith/patch-2
[supercollider.git] / HelpSource / Classes / Dser.schelp
blob676233090012bfabd21473959637eea0cce49dc9
1 class:: Dser
2 summary:: Demand rate sequence generator.
3 related:: Classes/Demand, Classes/Drand, Classes/Dseq, Classes/Duty, Classes/Dxrand, Classes/TDuty
4 categories:: UGens>Demand
6 Description::
8 Demand rate sequence generator.
10 See link::Classes/Pser:: for structurally related equivalent.
13 classmethods::
15 method::new
17 argument::list
19 An array of values or other UGens.
22 argument::repeats
24 Number of values to return.
27 Examples::
29 code::
33         var a, freq, trig;
34         a = Dser([1, 3, 2, 7, 8], 8);
35         trig = Impulse.kr(MouseX.kr(1, 40, 1));
36         freq = Demand.kr(trig, 0, a) * 30 + 340;
37         SinOsc.ar(freq) * 0.1
39 }.play;