Web Audio click
Metronome
Set the tempo, pick a meter, and start. The click is scheduled on the audio clock so it stays even when the screen is busy.
The screen stays on while the click runs, when your browser allows a wake lock.
Time signature
Subdivision
Questions
- Why not use a regular timer for the click?
- Timers drift and bunch up. FretKit schedules each click at an exact audio-clock time and only uses a coarse timer to look ahead.
- Will the screen stay on?
- Where the browser supports a screen wake lock, FretKit requests one while the metronome runs and releases it when you stop.
Advertisement