Metronome

A simple online metronome, set the tempo and beats per bar and it clicks in time using the Web Audio clock, accenting the first beat of each bar. Runs in your browser.

120 BPM

Beat interval

500 ms

Bar length2 s

How it works

The metronome clicks once per beat. The gap between clicks comes straight from the tempo:

beat interval (ms) = 60,000 ÷ BPM

Clicks are scheduled with the Web Audio clock so they stay in time even when the tab is busy. The first beat of each bar is accented.

No audio is recorded or sent anywhere, the click is generated in your browser.

What this does

An online metronome clicks in time at your chosen tempo and beats per bar, using the Web Audio clock and accenting the first beat of each bar.

How to use it

  1. Set the tempo.
  2. Set the beats per bar.
  3. Press start.
  4. Practise in time with the click.

How it works

Clicks are scheduled ahead with the Web Audio clock, so they stay accurate even when the browser is busy. The first beat of each bar plays higher so you feel the downbeat.

beat interval = 60,000 ÷ BPM ms

Understanding your result

The accented first beat is there to anchor you to the downbeat so you can feel the bar, not just the pulse. The most useful practice habit is to set a tempo you can play cleanly and only nudge it up once it feels easy, since speed built on sloppy timing does not stick. If a passage trips you up, slow the click well below performance tempo and rebuild.

Example

At 90 BPM in 4/4 the clicks fall every 667 ms, accenting every fourth.

Sources & methodology

Last updated .

Frequently asked questions

How accurate is the timing?

Clicks are scheduled ahead of time with the Web Audio clock, so they stay accurate even when the browser is busy, much steadier than a plain setInterval.

What does the accent do?

The first beat of each bar is played at a higher pitch so you can feel where the bar starts. Set beats per bar to match your time signature.

Why do I need to press start first?

Browsers only allow audio to begin after you interact with the page, so the first click happens when you press Start.

Is any audio uploaded?

No. The click is generated in your browser and nothing is recorded or sent anywhere.