2 summary:: Demand rate generator for switching between inputs.
3 related:: Classes/Demand, Classes/Duty, Classes/TDuty, Classes/Dswitch
4 categories:: UGens>Demand
8 Demand rate generator for switching between inputs.
10 See link::Classes/Pswitch1:: for structurally related equivalent.
19 Array of values or other UGens.
24 Which of the inputs to return.
34 a = Dswitch1([1, 3, MouseY.kr(1, 15), 2, Dwhite(0, 3, 2)], MouseX.kr(0, 4));
36 freq = Demand.kr(trig, 0, a) * 30 + 340;
45 a = Dswitch1({ |i| Dseq((0..i*3), inf) } ! 5, MouseX.kr(0, 4));
47 freq = Demand.kr(trig, 0, a) * 30 + 340;