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

[sc-users] creating a new tempo clock without automatically playing?



When creating a new clock it always start straight away, is there an option to have it stopped at first ?

Is it possible to pause the clock somehow?

for instance:

t = TempoClock.new
t.beats // yields, 1.175816691

t.stop

t.beats // yeilds an error: 

ERROR: clock is not running.
ERROR: Primitive '_TempoClock_Beats' failed.

t.pause // i know its not on the documentation

ERROR: Message 'pause' not understood.



What i'm trying to achieve is a way to have Tasks quantized to a clock before it starts playing, so then when it the clock start the the Task will get t.beats = 0, t.beats = 1, etcs...