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

[sc-dev] PauseStream, Task



Ron, felix, Julian, have a look at the PauseStream and Task classes I committed yesterday. These are similar in operation to Ron's RoutineWithPause. The implementation is a bit simpler.
This gives the old obsolete classname Task a new life.

t = Task({ 50.do({ arg i; i.squared; 0.5.wait }); });

t.start;
t.stop;
t.start;
t.reset;
t.stop;


--
--- james mccartney   james@xxxxxxxxxxxxxx   <http://www.audiosynth.com>
SuperCollider - a real time synthesis programming language for the PowerMac.
<ftp://www.audiosynth.com/pub/updates/SC2.2.16.sea.hqx>