Back to the blog

Music

A metronome that never drifts.

Why a web metronome can drift, how this one keeps exact time on the audio clock, and what your speakers add that no page can see.

By 2 min read

The Metronome: 100 beats a minute in 4/4, the first beat lit

A click that is a few milliseconds late each beat soon sounds wrong.

The audio clock.

Each click is put on the browser's audio clock a little ahead of time, at the start plus a whole number of beats, as Chris Wilson's 'tale of two clocks' describes. It never adds beats up step by step, so it cannot drift.

Tempo from a song.

Tap along, or drop a song and its tempo is found from its sound on your device.

What it cannot see.

Speakers and Bluetooth headphones add their own delay, which no page can measure; wired headphones add the least.

Further reading

Topics: metronome · online metronome · accurate metronome · click track · bpm

A little less theory. A little more doing.

Try it on your own terms, with a free browser tool.

Try the tool