Key and BPM finder
Find the BPM and musical key of an audio file, with its Camelot code and compatible keys. Analysed in your browser; the file is never uploaded.
Your file stays on this device. It's decoded and analysed in this browser tab and never uploaded. No account needed.
Pick a track to see its BPM, key and the keys that mix with it.
What the finder does
Drop in an audio file and the finder works out two things DJs need before they mix a track: its tempo in beats per minute, and its musical key. The key is shown as a Camelot code (like 8A), in musical notation (A minor) and in Open Key notation, along with the keys that mix harmonically with it.
Everything happens inside your browser. The file is read from your disk, decoded by the browser's own audio decoder and analysed in this tab. Nothing is uploaded and nothing is kept: close the tab and it's gone. You don't need an account.
How it works
It's the same analysis Audya runs on every track you import into the app, so the numbers match what you'll see on the decks.
- Tempo. The track is split into low, mid and high bands and turned into an onset curve: a spike wherever a kick, snare or other hit starts. Comparing that curve with delayed copies of itself gives a rough tempo between 70 and 180 BPM, then a finer search over tempo and phase locks onto the beat. The result is folded into 85–170 BPM by halving or doubling, the app's default range.
- Key. The audio is mixed to mono and sampled at up to 96 points across the track. At each point the finder measures how much energy sits on every note from C2 to B5 and adds it up per note name, which gives a twelve-note profile of the track. That profile is compared with the standard Krumhansl–Kessler profiles for all 24 major and minor keys, and the closest match wins.
- Confidence. For tempo, it's how clearly the best beat position stands out from the rest. For key, it's how far the best key beat the runner-up. Below the same thresholds the app uses to flag a track in your library, the reading is marked unsure.
How accurate is it?
Accurate enough to be useful, not accurate enough to trust blindly. We haven't published accuracy figures against a labelled set of tracks, so treat every reading as a strong suggestion and check it by ear. Some things reliably trip it up:
- Half and double time. A 174 BPM drum & bass track can read as 87, and a 70 BPM hip-hop beat as 140. Both are shown under the result.
- Tracks that change. The finder gives one tempo and one key for the whole file. Tempo changes, key changes, live drummers and beatless ambient tracks read low on confidence, or wrong.
- Neighbouring keys. A minor key and its relative major share the same notes (8A and 8B), so they're easy to confuse. Keys a fifth apart sit next to each other on the wheel and share most of their notes too. If the result sounds off, try its neighbours.
- Tuning. The note filters assume standard tuning (A = 440 Hz). A track tuned noticeably sharp or flat can land on the wrong key.
- Other apps disagree. rekordbox, Serato, Traktor and Mixed In Key each use their own methods, so a track can get different keys in each. None of them is the final word; your ears are.
Using the result
Mix into a track with the same Camelot code, or one step either way, and the keys won't clash. The Camelot wheel shows every move from any key, and the pitch calculator tells you how far to move the pitch fader to match two tempos. To learn the skills behind them, read the Camelot wheel lesson, BPM, pitch faders and 6%, or the short guide to harmonic mixing without the theory homework.
Got a whole library to check? Import the folder into Audya and every track is analysed the same way, with unsure readings flagged in the Library so you know which ones to check by ear.
Questions
- Is my file uploaded anywhere?
- No. The file is decoded and analysed in your browser tab. It isn't sent to Audya or anyone else, and nothing is stored once you close the tab.
- Which audio formats does it read?
- Whatever your browser can decode. Common formats such as MP3 and WAV work in current browsers; if a file won't open, convert it or try another browser.
- Why does it say 87 BPM when the track feels like 174?
- Tempo detection often lands on half or double the tempo you feel. The finder folds results into 85–170 BPM and shows half and double time under the reading, so pick the one that matches the track.
- Why is the key different from rekordbox or Mixed In Key?
- Each app detects key its own way, and minor keys are easily confused with their relative major, which uses the same notes. If two tools disagree, play the track against both candidates and trust your ears.
- Do I need an account?
- Not for this tool. The Audya web app, where you can mix the track on real decks, is free too and doesn't need an account either.
