creates a new ClockFace and GUI that, when played, will start at starttime and increment by inc according to tempo (in beats per SECOND).
starttime |
Starting time |
tempo |
beats per second |
inc |
increment amount |
alwaysOnTop |
Should the window always be on top |
Starts the clock
Stops the clock
sets the time on the clock to curtime. curtime is passed in seconds.
curtime |
new time in seconds |
sets the current tempo in beats per second. Adjusts the internal TempoClock.
newBPS |
new tempo in Beats Per Second |
tell the ClockFace to calculate curtime with a modulo. Set to 0 or nil to remove a modulo.
newMod |
modulo to use in calculating time |
when a mod is set, a Function to evaluate when the clock resets to 0.
if notNil, a Function to be evaluated whenever a new integer boundry is crossed. Can be used
for metronomic functions.
Sets whether the window should always be on top
bool |
A boolean - true for alwaysOnTop, flalse for not |