[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] isPlaying isRunning
no, they are set by the NodeWatcher. cruxxial uses them.
Are the isPlaying and isRunning variables vestigial?
In the following code they are always equal to false.
SynthDef("moto-rev", { arg out=0,freq=100,ffreq=120;
var x;
x = RLPF.ar(LFPulse.ar(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
Synth("moto-rev",["out",0,"freq",rrand(10,1200)],g,\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;
_______________________________________________
sc-dev mailing list
sc-dev@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-dev
--
.