An output is selected randomly on receiving a trigger from an array of inputs.
TChoose returns a combination of Select and TIRand.
trig | |
array |
(
{
var a;
a = [
SinOsc.ar,
Saw.ar,
Pulse.ar
];
TChoose.ar(Dust.ar(MouseX.kr(1, 1000, 1)), a) * 0.2
}.play;
)