AnyTool
Your files never leave your device. All processing happens locally in your browser.

How do I use an online metronome to practice in time?

Open AnyTool Metronome, set your tempo with the slider, the +/− buttons or by tapping the beat, choose a time signature like 4/4 or 6/8, and press Start (or the spacebar). It plays a steady, drift-free click using the Web Audio clock, with the downbeat accented and a flashing visual indicator on each beat. Add eighth-note, triplet or sixteenth subdivisions, pick a sound and volume, and tap any beat dot to accent or mute it. Everything runs in your browser — no audio is uploaded.

  • Sample-accurate Web Audio scheduling (lookahead clock) — no drift like timer metronomes
  • Tempo 30–300 BPM via slider, ± buttons or tap tempo, with Italian tempo markings
  • Time signatures 2/4, 3/4, 4/4, 5/4, 6/8, 7/8, 9/8, 12/8 and editable accent patterns
  • Subdivisions (eighths, triplets, sixteenths), accent on beat 1, four click sounds, volume
  • Flashing visual beat indicator · keyboard shortcuts · 100% in your browser, nothing uploaded

What is

Metronome

A metronome is a tool that sounds a steady pulse at a chosen tempo, measured in beats per minute (BPM), to help musicians keep consistent time. A time signature groups those beats into bars — for example 4/4 has four beats per bar with the first beat accented — and subdivisions split each beat into evenly-spaced clicks such as eighth notes, triplets or sixteenths. A web metronome synthesizes each click in the browser and schedules it on the Web Audio clock for accurate, drift-free timing.

Generators

Related terms

Beats per minute (BPM)Time signatureSubdivisionTap tempoTempo marking

Frequently Asked Questions

A well-built web metronome is sample-accurate. AnyTool schedules each click on the Web Audio clock with a lookahead loop, so it does not drift, though real timing still depends on your device and keeping the tab active.

Accuracy comes down to how the clicks are timed. A naive metronome that calls setTimeout once per beat drifts, because JavaScript timers are imprecise and affected by whatever else the page is doing. AnyTool instead uses the canonical Web Audio "two clocks" pattern: a 25-millisecond lookahead timer schedules every upcoming click onto the AudioContext sample clock about 100 milliseconds ahead of time, so the audio fires with sub-millisecond precision and the beat stays steady from 30 to 300 BPM. Real-world precision still depends on your device, browser and audio output, and browsers throttle background tabs, so keeping the metronome tab active and in the foreground gives the steadiest timing.

Tap tempo lets you set the BPM by tapping a button in time with music. AnyTool averages your last few taps and locks in the matching tempo.

Tap tempo is the fastest way to match a metronome to a song or a feel you already have in your head. Press the Tap button (or the T key) in time with the beat several times, and the metronome measures the interval between your taps, averages the most recent ones for stability, and converts that to beats per minute. AnyTool ignores a long pause so you can restart cleanly, and clamps the result to the 30–300 BPM range. It is ideal for finding the tempo of a recording without counting or for quickly dialling in the groove you want to practise.

The time signature groups beats into bars (like 4/4 or 6/8) and sets which beat is accented; a subdivision splits each beat into smaller even clicks like eighths or triplets.

The time signature decides how many beats are in each bar and which note value gets the beat — 4/4 is four quarter-note beats with the first accented, while 6/8 is felt as two dotted-quarter beats that each divide into three eighths. A subdivision is separate: it adds extra clicks between the main beats so you can hear and lock onto the smaller rhythmic grid. On AnyTool you pick a time signature and an accent pattern (tap any beat dot to accent, normal or mute it), then independently choose a subdivision of eighth notes, triplets or sixteenths to practise faster passages cleanly.

No. Every click is synthesized locally with the Web Audio API, nothing is uploaded or recorded, and the microphone is never used.

AnyTool Metronome runs entirely in your browser. The clicks are generated on the fly as short oscillator tones with the Web Audio API, so there are no sound files to download and nothing is streamed from a server. No audio is uploaded, recorded, logged or stored, and the tool never requests microphone access — it only produces sound, it does not listen. The metronome even works offline once the page has been cached.

Detailed Explanation

Methodology

How the Metronome Keeps Accurate Time

AnyTool Metronome is built on the Web Audio API’s “two clocks” lookahead scheduler. A short setInterval timer fires about every 25 milliseconds and, on each wake-up, schedules every click that falls within the next ~100 milliseconds onto the AudioContext sample clock using oscillator.start(time) at an exact AudioContext.currentTime value. Because the audio hardware clock — not a JavaScript timer — decides the precise moment each click plays, the beat is sample-accurate and does not drift, even as the tempo is changed live. This is markedly more stable than a metronome that calls setTimeout once per beat, whose error accumulates with main-thread jitter.

  • Lookahead scheduler: ~25 ms timer schedules clicks ~100 ms ahead
  • Clicks are placed on the AudioContext sample clock (currentTime)
  • Drift-free and stable across live tempo changes from 30 to 300 BPM
  • Each click is a synthesized OscillatorNode + GainNode envelope — no audio files
  • A queue of scheduled beats drives the visual indicator via requestAnimationFrame
How It Works

Tempo, Signatures, Subdivisions and Accents

Tempo runs from 30 to 300 BPM and can be set with a slider, the plus/minus buttons, or by tapping the beat — tap tempo averages the most recent taps and clamps the result to range. Italian tempo markings (Largo, Andante, Allegro, Presto and so on) update with the BPM. Time signatures include 2/4, 3/4, 4/4, 5/4, 6/8, 7/8, 9/8 and 12/8, and the per-beat accent pattern is editable: clicking a beat dot cycles it through accent, normal and muted, so users can build custom accent maps for odd meters. Independently, a subdivision setting layers eighth notes, triplets or sixteenths between the main beats, and four click timbres (beep, woodblock, click, cowbell) plus a volume control let players dial in a sound they can hear over their instrument.

  • Tempo 30–300 BPM via slider, ± buttons or averaged tap tempo
  • Time signatures 2/4, 3/4, 4/4, 5/4, 6/8, 7/8, 9/8, 12/8
  • Editable per-beat accent pattern: accent / normal / mute each beat
  • Subdivisions: quarters, eighths, triplets, sixteenths
  • Four synthesized sounds, volume control, flashing visual beat indicator
Privacy & Security

Privacy, Offline Use and Honest Timing Limits

Because every click is synthesized in the browser, no audio is uploaded, recorded or stored, the microphone is never accessed, and the metronome works offline once the page is cached. The AudioContext is created lazily on the first user gesture (to satisfy browser autoplay policy) and closed on unmount. Honestly, while the Web Audio clock makes scheduling sub-millisecond accurate, the real-world steadiness a listener perceives still depends on the device, browser and audio output: browsers throttle timers in background tabs, so the tab should stay active and in the foreground for best results, and Bluetooth output adds a small fixed latency that shifts the whole click track slightly later.

Metronome: in-browser (AnyTool) vs typical online metronomes
CapabilityAnyToolTypical online metronomes
TimingWeb Audio lookahead clock, drift-freeOften setTimeout per beat (drifts)
SoundSynthesized clicks, no filesOften loads audio samples / CDN
Tempo entrySlider, ± buttons, tap tempoUsually slider only
Time signatures2/4 to 12/8 incl. odd metersOften 4/4 and a few simple meters
SubdivisionsEighths, triplets, sixteenthsSometimes none
AccentsEditable per-beat accent/mute patternUsually downbeat only
PrivacyNo upload, no mic, offline-capableMay load remote assets / track
Cost / signupFree, no signupOften ad-heavy or gated

AnyTool synthesizes every click locally on the Web Audio clock and uploads nothing.