Timer on or off check
d.healey last edited by d.healey
Could there be a function like
Synth.getTimerState()to check if the timer is currently running - this is useful if I want to adjust the timer rate while it's running but I don't want it to start the timer if it hasn't been already. Currently I'm doing this with a separate timerState variable which I update when I turn the timer on or off.
Christoph Hart last edited by
Yes, this is reasonable. The method will be
Synth.isTimerRunning()(the JUCE Timer class has a similar method so it's pretty easy to add this). I'll also add
Synth.getTimerInterval()if I am at it.