43 deadline=audioTicks()+ticks;
52 void start(
unsigned int delay_milliseconds)
54 set(delay_milliseconds
);
66 set((
unsigned int) (60000.f/bpm)
);
78 unsigned long now = audioTicks();
79 if ((now<deadline) || stopped)
return false;
81 deadline=now-(now-deadline)+ticks;