Building a metronome that doesn't drift with the Web Audio API
The first metronome most of us write looks like this: setInterval(playClick, 60000 / bpm); It sounds fine for ten seconds. Then you switch tabs, scroll a long page, or the garbage collector runs, and
