implements Time.Clock
A Time.Clock that acts as a JACK timebase master.Timebase(float bpm, Time.Signature time) | create a new JACK timebase master |
tempo | current clock tempo in beats per minute |
onSync(function handler, bool wait) | register a callback for JACK transport sync |
reposition(float location) | request an immediate reposition of the transport to the given location |
schedule(Time.Signature signature, integer bar) | schedule a time signature change at a given measure |
schedule(float tempo, float measure) | schedule a tempo change at a given time |
start() | immediately request the clock to start |
stop() | immediately request the clock to stop |
Create a new JACK timebase master
Current clock tempo in beats per minute.
Register a callback for JACK transport sync.
Request an immediate reposition of the transport to the given location. Note the existence of JACK slow-sync clients may delay the reposition until all clients are ready.
Schedule a time signature change at a given measure.
Schedule a tempo change at a given time
immediately request the clock to start
immediately request the clock to stop