You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I appear to have fixed this by adding a short fixed delay (0.1 seconds) to nextNoteTime in the play() function. (immediately after nextNoteTime = audioContext.currentTime;) This worked in my Windows desktop browsers, I haven't tested on Mac/mobile.
My theory was that the initial start-up has extra variable time overhead and this was lost from the note duration, so delaying the start would allow for this overhead.
I'm not sure this is correct though, hopefully the original author will chip in with a correct solution and explanation!
After starting the metronome, the first note is always clipped and generates a click.
It is easier to tell when the metronome is set to quarter notes or slowed to a low tempo.
The text was updated successfully, but these errors were encountered: