An output is selected randomly on receiving a trigger from an array of inputs.
TChoose returns a combination of Select and TIRand.
a = [
TChoose.ar(Dust.ar(MouseX.kr(1, 1000, 1)), a) * 0.2
NOTE: all the ugens are continuously running. This may not be the most efficient way if each input is cpu-expensive.