To mix in key, you blend tracks that are in compatible musical keys so their melodies and basslines complement each other instead of clashing. The easiest way to mix in key is to let your software detect each track’s key, read its Camelot code, and follow a few simple rules for which codes go together.
This guide shows the whole workflow, from analysing your library to making the blend.
Why mix in key?
When two overlapping tracks are in clashing keys, the notes fight and the blend sounds tense or “off”, especially during long melodic transitions. Mixing in key keeps everything consonant so longer blends sound musical. For the theory behind it, see our explainer on harmonic mixing; this article focuses on doing it.
Step 1: Detect the key of your tracks
You need a key for every track first. Key-detection tools — Mixed In Key, plus the analysis built into Serato DJ Pro, rekordbox and Traktor Pro — scan each file and tag it with a musical key and a Camelot code like 8A or 5B. Analyse your whole library during prep so the data is ready before you play.
Step 2: Learn the Camelot codes
The Camelot system turns keys into a clock-like wheel so you do not need music theory:
- The number (1 to 12) is the position on the wheel.
- A means a minor key; B means a major key.
From any track, these moves are reliably compatible:
- Same code (8A to 8A): same or near-identical key.
- One step around the wheel (8A to 7A or 9A): shares most notes.
- Switch the letter, keep the number (8A to 8B): relative major/minor, sounds natural.
Step 3: Build your set with compatible keys
When planning what to play next, look at the playing track’s Camelot code and choose a follow-up within those safe moves. You can step around the wheel one notch at a time to gradually shift the energy and mood of your DJ set without ever hitting a clash. Moving up the wheel (raising the number) tends to lift energy; switching to a major key can brighten the feel.
Step 4: Make the blend
Mixing in key sits on top of your normal mixing technique, it does not replace it:
- Beatmatch and phrase-align the incoming track as usual — see beatmatching.
- Confirm the two tracks are in compatible keys before a long, melodic overlap.
- Bring the new track in over several bars, keeping the melodies overlapping where they sound good.
- Use EQ to keep only one bassline playing at a time, even when the keys match.
A note on pitch and key
One catch: changing a track’s tempo with the pitch fader can also change its key, which can break harmonic compatibility. Two fixes:
- Key lock (master tempo): most gear and software has a key-lock button that holds the pitch steady when you change tempo. Turn it on when mixing in key.
- Small tempo changes: mixing tracks with close BPMs means tiny pitch adjustments, so the key shifts very little.
Trust your ears
The Camelot rules are a guide, not gospel. Detected keys can be wrong, some tracks change key partway through, and occasionally a “non-compatible” pairing just sounds great. Use the codes to narrow your options quickly, then let your ears make the final call. Mixing in key is meant to make your job easier, not to box you in.
Frequently asked questions
What is the easiest way to mix in key as a beginner?
Analyse your library so every track has a Camelot code, then only mix into tracks with the same code, one step around the wheel, or the same number with the other letter. Those three moves cover almost all safe transitions.
Does changing the tempo affect the key?
Yes. Speeding up or slowing down a track raises or lowers its pitch and therefore its key. Turning on key lock (master tempo) holds the pitch steady, and keeping tempo changes small minimises the shift.
Is mixing in key necessary for every genre?
No. It matters most in melodic genres with long blends. In drum-driven genres or sets built on quick cuts, the melodies barely overlap, so key compatibility is far less important than energy and phrasing.



