crateseek

Analysis

BPM, Camelot keys and harmonic mixing explained

How BPM and key analyzers work, what Camelot and Open Key numbers mean, the mixing rules that actually sound good, and why analyzers disagree — written for DJs, not theorists.

7 min read

In short

  • BPM analysis finds the beat and counts it; the classic failure is half or double time (87 vs 174), so sanity-check against the genre.
  • Key detection compares a track's pitch content against major/minor templates. It's right most of the time and most wrong on sparse, atonal or key-changing tracks.
  • Camelot (1A–12B) and Open Key (1m–12d) are the same wheel with different labels: Open Key number = Camelot number + 5, wrapping at 12. 8A = 1m = A minor.
  • Safe mixes: same number, one number either way, or swap the letter (relative major/minor). Two numbers up is the classic energy boost.
  • Pitch changes key: without keylock, every 6% on the pitch fader is about one semitone.
On this page8 sections

What a BPM analyzer actually does

An analyzer turns audio into an onset curve — where the energy jumps — and looks for the most regular spacing between those jumps, then refines that into a beat grid. On four-on-the-floor music with a clear kick, modern algorithms land within a tenth of a BPM. Trouble starts when the pulse is ambiguous: half-time drum patterns, swung or broken beats, long beatless intros, or music whose tempo drifts because it was played live.

The classic error is the octave: the analyzer locks onto every other beat, or every half beat, and reports 87 instead of 174, or 140 instead of 70. Good software exposes a confidence score and a half/double button; good habits mean glancing at the number against the genre. House lives around 120–130, techno 128–145, trance 136–142, UK garage 130–135, drum & bass 170–176, dubstep 140 (or 70 if the analyzer takes the half-time feel literally), hip-hop 80–100.

A second subtlety: 126.00 and 125.98 are not the same when you sync for eight minutes. Analyzers that fit a fixed grid round to two decimals; tracks recorded to a DAW grid are exact, old disco and live drums are not. Treat dynamic grids as a feature, not a bug.

Musical key in sixty seconds

Western music uses twelve pitch classes (C, C♯/D♭, D … B). A key is one of those twelve plus a mode — major (brighter) or minor (darker) — giving 24 possibilities. Every major key has a relative minor that shares the same seven notes: C major and A minor, G major and E minor, and so on. Two tracks in the same or relative keys share their notes, so their melodies and basslines don't clash when layered. That is the entire premise of harmonic mixing.

Keys a fifth apart (C → G, or A minor → E minor) share six of seven notes, which is why neighbours on the wheel also blend well. Beyond that the overlap drops and mixes start to sound off unless one track is nearly beatless.

Camelot, Open Key and classic notation

Rather than remember that E♭ minor sits next to B♭ minor, DJ software relabels the circle of fifths as a clock. Two labelling systems are in use:

  • Camelot (popularised by Mixed In Key; the default display in Serato and an option in rekordbox): numbers 1–12, A = minor, B = major. A minor is 8A, C major is 8B.
  • Open Key (Traktor's system): numbers 1–12, m = minor (moll), d = major (dur). A minor is 1m, C major is 1d.

They are the same wheel rotated: Open Key number = Camelot number + 5, wrapping past 12. Relative major and minor share a number in both systems, and moving one number clockwise is a perfect fifth up.

Camelot ↔ Open Key ↔ classic notation
CamelotMajor (B / d)Minor (A / m)Open Key
1BG♯ / A♭ minor6
2F♯ / G♭D♯ / E♭ minor7
3C♯ / D♭A♯ / B♭ minor8
4G♯ / A♭F minor9
5D♯ / E♭C minor10
6A♯ / B♭G minor11
7FD minor12
8CA minor1
9GE minor2
10DB minor3
11AF♯ minor4
12EC♯ / D♭ minor5

Classic notation (Am, F#m, Db) is what gets written into file tags: ID3's TKEY frame is limited to three characters and expects it, rekordbox's XML Tonality field stores whatever text it is given, and Traktor stores Open Key internally. Crateseek shows Camelot and Open Key side by side in the library and writes classic notation into files and exports so every application reads it.

Harmonic mixing rules that work

  • Same key (8A → 8A): always safe; watch for two basslines fighting at the same pitch.
  • Relative major/minor (8A ↔ 8B): same notes, different mood. Great for lifting or darkening the room without changing the tonal centre.
  • One step round the wheel (8A → 7A or 9A): a fifth apart, six shared notes. The bread and butter of harmonic mixing.
  • Two steps up (8A → 10A): a whole tone up — the energy-boost mix. It sounds like the key change in a pop song and works best when the outgoing track is in a breakdown.
  • Seven steps (8A → 3A): a semitone up. Dramatic; use it when the outgoing track is beatless or you're cutting rather than blending.

These are guidelines for layering tonal material. If one track is drums and noise, mix whatever you like. If both have sustained chords or vocals, stay within one step.

Why key detection is sometimes wrong

Analyzers compute a chromagram — how much energy sits on each of the twelve pitch classes across the track — and correlate it with 24 key templates. The templates matter: profiles trained on dance music outperform classical-music profiles on techno and house, which is one reason two programs disagree on the same file. Other reasons:

  • Sparse or atonal material. A techno track that is a kick, a noise sweep and one detuned stab gives the template little to grab. Confidence is low and the answer is close to a coin flip between a key, its relative and its neighbour.
  • Key changes. One key for a track that modulates in the drop is wrong for half the track. Most tools report the dominant key; cue the sections yourself.
  • Tuning. Tracks not at A = 440 Hz (old records, tape, pitched samples) shift the chromagram; better analyzers estimate the tuning first.
  • Bass versus melody. The template looks at the whole mix; a bassline in one key under a pad in its relative can land either way.

Use the number to shortlist, then trust your ears in the headphones. A "wrong" key that sounds right is right.

Pitch faders, keylock and your key

Changing tempo without keylock changes pitch, and the relationship is logarithmic: a 6% tempo change is almost exactly one semitone. One semitone is seven steps round the wheel, so a track pushed +6% without keylock has moved from 8A to 3A; +3% is half a semitone and sits between keys, which is why small nudges without keylock can make an in-key mix sound sour. With keylock on, the key stays put at any tempo, at the cost of some artefacts on big changes — most DJs keep it on for anything beyond ±3%.

Putting it to work in a library

A library that already knows BPM and key turns these rules into filters: show me tracks within ±4 BPM of what's playing, in 8A, 8B, 7A or 9A. Crateseek analyses every saved or uploaded track for BPM, key (Camelot and Open Key), integrated loudness and a waveform, files it into a genre folder, and lets you sort and filter the library by all of them. Loudness matters more than people think: a −8 LUFS master next to a −12 LUFS one needs 4 dB of trim, and knowing that before the mix beats finding out on the floor.

When you export to USB, BPM and key travel with the files as tags, so Serato, rekordbox and Engine show the same numbers you saw in the browser and only re-analyse if you ask them to.

Questions, answered

Camelot or Open Key — which should I use?
Whichever your software shows by default; they mean the same thing. Serato and rekordbox lean on Camelot-style displays, Traktor on Open Key. Add 5 (wrapping at 12) to convert Camelot to Open Key.
Why does rekordbox show a different key from Crateseek?
Different analyzers use different key templates and tuning estimates, and low-confidence tracks fall either side of a boundary. Relative keys (8A vs 8B) or neighbours (8A vs 9A) are the usual disagreements, and both are mixable.
My drum & bass shows 87 BPM. Is the analyzer broken?
It locked onto the half-time feel. Double it to 174 in your software; most tools have a ×2 button or let you type the value.
Do CDJs read key tags?
rekordbox reads the key you import and shows it on the player; CDJs don't analyse key from tags on the fly. Export through rekordbox for key display on the deck.
What is loudness (LUFS) for?
It tells you how loud a track is perceived, independent of peaks. Tracks within a couple of LU of each other need little gain riding; a 4 LU gap needs a trim adjustment before the fader comes up.

Put it into practice.

Lossless-first search, BPM and key on every track, and USB exports for Serato, rekordbox, CDJs and Engine OS. Free during early access.

Free during early access. No card required.