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

Re: [sc-users] Request for SC 3.4 - a better NRT interface



Doesn't Scheduler already work like this?
According to the help file you can use it to schedule events  
like any other Clock and then manually advance it to a time
in the future. All events scheduled within that time will be executed.

t = Scheduler(SystemClock);

t.sched(5, {arg beats, secs;  "% seconds in".format(secs).postln});

t.sched(27, {arg beats, secs;  "% seconds in".format(secs).postln});

t.advance(30); //advance t's time to 30 seconds from now;


-mgc

 
On Sun, May 3, 2009 at 10:10 AM, Eric Lyon <audiodidact@xxxxxxxxx> wrote:
Josh, thanks for weighing in. It helps to hear from someone who really knows the guts of SC.

What I think would actually solve this is a clock that doesn't schedule in real time...

That sounds like just the ticket.