About BPM Detector with Tap Tempo
DJs matching tracks, producers setting a project tempo, dancers and runners picking music all need to know how fast a song is. Drop an audio file and this tool listens for the beat: it reports the tempo in BPM, the half-time and double-time readings, how clear the beat is, and any other tempos that also fit.
Beside the result is a player and a tap pad. Play the song and tap on each beat to check the estimate with your own ears; the tool says whether your taps agree, or count the same pulse at half or double speed. The tap pad also works on its own, with no file at all.
How it works
- Your browser decodes the file at 22.05 kHz and mixes it to mono. Short overlapping slices go through a Fourier transform, and the rise in the spectrum from each slice to the next marks where notes and drums begin.
- In a background worker, that onset curve is compared with itself at every delay (autocorrelation). A steady beat makes it repeat at the beat period and its multiples.
- Every tempo in the chosen range is scored by how strongly the curve repeats at one to four beats and at the half-beats between; the best is then sharpened by fitting a line through the repeats.
- Taps are timed in the page and turned into a tempo by fitting a straight line through your latest sixteen taps.
Questions
Why does it say 70 when the song feels like 140?
Both describe the same pulse, counted at different speeds. The estimate is always reported within the tempo range you choose, which spans one octave, so pick the range that fits the style; the half-time and double-time figures are shown alongside.
How accurate is the estimate?
For music with a steady beat it is usually within a few tenths of a BPM; the tests check drum patterns from 90 to 174 BPM to within 0.3. Songs that speed up, rubato playing and beatless ambient music give weaker results, and the beat clarity reading says so.
Does it work on a whole DJ mix?
It analyses the first ten minutes of a file and reports one tempo for them. A mix whose tempo changes will give the most common one, or a weak result.
Which formats can I use?
Any audio file your browser can decode, including MP3, WAV, AAC and M4A, FLAC and Ogg in most browsers. Files up to 512 MB are accepted.
Is my music uploaded?
No. Decoding, analysis and playback happen in your browser, and nothing is sent or stored.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.