Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Audio

BPM Detector

Detect the beats-per-minute of an audio file or your microphone using onset detection and autocorrelation, all computed locally in this tab. If the automatic reading is off, tap along with the space bar for a manual tempo. Includes a confidence score and notes the common doubling/halving ambiguity.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

BPM detector

On-device

Find the tempo of a song from a file or your microphone. Onset detection and autocorrelation run in this tab — the audio is never uploaded.

Choose an audio file, or press “Use microphone” and tap along to the beat.

Options

The slowest tempo the detector will consider. Raise it for very fast music.

The fastest tempo the detector will consider. Lower it for very slow music.

How it works

How the detector works

Your audio is mixed to mono and cut into overlapping frames. Each frame is Fourier-transformed over a Hann window, and the detector keeps only the magnitude increases between consecutive frames — the “spectral flux”. Transients like drum hits and bass plucks push the flux up sharply, so the flux envelope is a rough impulse train at the beat rate.

Finding the tempo

The detector autocorrelates that flux envelope — it slides the signal against itself and asks how well each shift lines up. The shift (lag) that lines up best, inside the BPM window you set, is the beat period. The detector then snaps that lag to the strongest whole octave inside the window, so a track in half-time does not read as double speed.

Confidence and ambiguity

The confidence score says how much the winning lag stood out from the rest of the window — a clean, steady beat scores near 100%, while a rubato or noisy recording scores low. Tempo detection has a built-in octave ambiguity: a beat can always be doubled or halved and still feel musical, so when one is in range the report lists it as an alternative.

Tap tempo fallback

Press the “Tap” button (or the space bar) along with the beat. After a few taps the panel shows a running median of your intervals as a BPM, which is robust to one mis-timed tap. Nothing is uploaded — the file and the microphone are read entirely in this tab.

Questions

Why does the detector sometimes report double or half the real tempo?

Music written in 2/2, 6/8 or half-time has a strong pulse at half the obvious speed, and very fast music can be counted in twice. Autocorrelation finds the most salient periodic pulse; when the “real” tempo and its octave neighbour are both plausible the report lists the alternative so you can pick the one that feels right.

Does anything leave my device?

No. The audio file and the microphone are decoded and analysed entirely by your browser in this tab. Nothing is uploaded and nothing is stored.

Why is the confidence low?

Low confidence usually means the beat is weak or irregular — ambient noise, a solo voice, or rubato passages. Try a cleaner excerpt with a clear drum or bass groove, or use the tap tempo for a manual reading.

See category