[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-dev] Scheduler -> seconds
hallo,
in Scheduler.rtf (Help file):
// scheduling tasks
(
x = Scheduler(TempoClock.default);
Task {
inf.do { |i|
("next " ++ i ++ " in task." + Main.elapsedTime).postln;
0.5.wait;
}
}.play(x)
)
x.advance(0.1);
x.seconds;
x.advance(5);
x.seconds;
---> throws an error, because 'seconds' is not a recognized instance
method of Scheduler.
Looking in Clock.sc:
Scheduler {
var clock, drift, beats = 0.0, seconds = 0.0, queue;
... should this perhaps be changed into:
Scheduler {
var clock, drift, beats = 0.0, <seconds = 0.0, queue;
?
ciao, -sciss-