[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-dev] isPlaying isRunning
Are the isPlaying and isRunning variables vestigial?
In the following code they are always equal to false.
"moto-rev", { arg out=0,freq=100,ffreq=120;
var x;
x = SinOsc.kr(0.2, 0, 10, freq), [0,0.1], 0.1),
ffreq, 0.1).clip2(0.4);
Out.ar(out, x);
}).send(s);
g = Group.new;
l = Array.fill(3,{
// random freq for each synth, added to g at the head
\addToHead);
});
g.isPlaying.postln;
g.isRunning.postln;
g.run(false);
g.isPlaying.postln;
g.isRunning.postln;
g.run(true);
g.isPlaying.postln;
g.isRunning.postln;