Hello ! (I’m a begginer. so…
I have a simple question …
I don’t know the way to stop the case method, in .do…
I put the variable (~fgh), before the method case, it works but it erases one of the 3 synths…
So I can’t find the proper place to put the variable to erase later all the 3 Synths which are played in this Routine…
Here is my effort
~noteE=Routine.new({
~t6forstop=Synth.new(defName: \reverb3,args: [\in,~reverb_bus,\out,0,\mix,0.8,\room,0.9],target: ~groupZ);
~t2againforstop=Synth.new(defName: \delay,args: [\in,~delay_bus,\out,0],target: ~groupB);
~steop=3.do{arg i;
i.postln;
~fgh*= case
{i==0}{Synth.new(\playerme1fordelay,args: [\buf,~harpordinario[0],\spkr_out,0,\reverb_out,~reverb_bus,\delay_out,~delay_bus,\amp,0.05,\rate,0.6],target: ~groupA);}
{i==1}{Synth.new(\playerme1fordelay,args: [\buf,~harpordinario[1],\spkr_out,0,\reverb_out,~reverb_bus,\delay_out,~delay_bus,\amp,0.01,\rate,0.8],target: ~groupA);}
{i==2}{Synth.new(\playerme1fordelay,args: [\buf,~harpordinario[2],\spkr_out,0,\reverb_out,~reverb_bus,\delay_out,~delay_bus,\amp,0.04],target: ~groupA);};
3.5.wait};
}).play;
},
Thanks