[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] choose



where can i find info/help on "choose" strategies?
i am writing a routine that should choose between 2 synths at each iteration
something like this, although this doesnt work .... :)

(
r = Routine({
   110.do{
SynthDef("blabla", {
var choo, source1, source2;

source1 = whatever.ar;
source2 = whatever.ar;

choo = [source1 source2].choose;

Out.ar(0, choo) }).play;
      exprand(1.0, 4.0 ).wait;
   }; });
SystemClock.play(r);
)

grazie