Guide
The Complete Guide to the Camelot Wheel for Harmonic Mixing
Harmonic mixing uses the Camelot wheel to match songs with compatible musical keys so transitions sound smooth. You match tracks by their Camelot code, moving one step left, one step right, or switching between major and minor, which keeps melodies and basslines in tune.
By HablaMusic teamUpdated 7 min read
How the Camelot wheel organizes musical keys
The Camelot wheel maps the 24 major and minor musical keys to a clock face, using numbers 1 through 12 and the letters A or B. Minor keys sit on the inner ring (labeled A), and major keys sit on the outer ring (labeled B). Each step around the clock is a move along the circle of fifths.
DJ key mixing relies on this system because it removes the need to memorize music theory. Instead of knowing that E minor mixes well with A minor, you match the code 9A with 8A. When tracks share compatible codes, overlapping melodies, vocals, and basslines do not clash, which prevents the harsh dissonance that kills dancefloor energy. Harmonic mixing is standard practice for long, melodic blends in trance, house, and techno. Many DJs learn it right after learning how to match tempos manually. Sorting your digital crates by these codes keeps pitch collisions out of your sets.
Try it while you read
The complete Camelot key chart
The chart below translates traditional musical keys into their Camelot codes. The 24 codes cover every standard key in Western electronic music. Use it when building playlists or tagging files.
| Camelot code | Musical key | Camelot code | Musical key |
|---|---|---|---|
| 1A | G-sharp minor | 1B | B major |
| 2A | D-sharp minor | 2B | F-sharp major |
| 3A | A-sharp minor | 3B | C-sharp major |
| 4A | F minor | 4B | G-sharp major |
| 5A | C minor | 5B | E-flat major |
| 6A | G minor | 6B | B-flat major |
| 7A | D minor | 7B | F major |
| 8A | A minor | 8B | C major |
| 9A | E minor | 9B | G major |
| 10A | B minor | 10B | D major |
| 11A | F-sharp minor | 11B | A major |
| 12A | C-sharp minor | 12B | E major |
Most DJ software shows these codes by default once a track is analyzed. If you generate your own tracks with HablaMusic and use a prompt like deep house bassline, 122 BPM, E minor, you are targeting code 9A. A track costs 10 credits and runs up to 180 seconds. Knowing the output key lets you categorize new generations for your DJ sets right away. Tag your AI-generated tracks with the correct Camelot number before a gig so a clashing bassline never lands on a live vocal.
Safe moves for clean track blends
Safe harmonic moves stay within one step of your current Camelot code. The overlapping notes sound like they belong in the same song. Four moves are safe.
First, stay on the same code. A 5A track mixes cleanly with another 5A track. Second, move one number down the clock, for example from 5A to 4A. Third, move one number up the clock, from 5A to 6A. Fourth, switch between the inner and outer rings on the same number, so a 5A minor track can mix into a 5B major track.
These moves work because the scales of adjacent codes share six out of seven notes. When you blend long vocal sections or complex chords, these transitions keep the mix transparent. If you are working out how to layer different songs, stay within these neighbors. Acapellas (isolated vocals) and stems will clash hard outside them. Use only these moves when holding a blend open for more than 16 bars.
Energy boost moves for the dancefloor
Jumping specific intervals on the Camelot wheel creates a deliberate shift in mood or energy instead of a transparent blend. Safe mixing can feel flat over a two-hour set, so DJs use these jumps to add tension and lift the crowd.
An energy boost moves the key up by one or two semitones. To go up one semitone, add 7 to your current Camelot number. If you are playing a 2A track, jumping to 9A raises the pitch by one semitone, and the transition feels like a sudden jump in energy. To go up two semitones, add 2 to your current number. Moving from 8A to 10A pushes the mood noticeably higher.
These jumps create an audible key change. Make them during a drop or right at the end of a breakdown, not during a long overlapping blend. The overlapping frequencies may clash slightly if you blend the basslines, but the lift from the pitch shift usually outweighs the brief dissonance. Drop the new track exactly on the one-beat.
Pitch shift, tempo changes, and key lock
Changing a track's tempo on a standard DJ setup also changes its pitch, which changes its Camelot code. A pitch shift of approximately 6 percent moves the key by one semitone. If you speed up an 8A track by 6 percent, it becomes A-sharp minor, which is code 3A.
This link between tempo and pitch undermines harmonic mixing if you ignore it. Modern DJ software and hardware solve it with a feature called Key Lock, sometimes labeled Master Tempo. Key Lock uses digital time-stretching to hold the pitch steady while the tempo changes. You can pitch a track up 4 percent and the key stays where it started.
Keep Key Lock on when mixing in key. Pushing a track past a 4 or 5 percent tempo shift with Key Lock on can cause audio artifacts, such as a metallic bassline or jittery vocals. If you need drastic tempo changes, harmonic mixing may not be the right approach. Pitching audio too far also degrades the transients in the drum hits.
Worked example: a 6-track harmonic set
Planning a set with the Camelot wheel means mapping a route through the codes. This six-track tech house sequence builds energy with both safe moves and one energy boost.
Track 1 sits at 5A and sets up a dark, rolling groove. Track 2 moves to 6A, a safe move up the clock that keeps the dark vibe but shifts the bassline tone. Track 3 stays at 6A. A perfect harmonic match allows a two-minute overlapping blend of stems without phase cancellation.
Track 4 jumps to 6B, switching from the minor inner ring to the major outer ring. The mood becomes brighter and more open. Track 5 drops to 5B, a safe move down the clock that pulls the energy back slightly. Track 6 makes a +2 energy boost from 5B to 7B. Drop it on the chorus for a two-semitone lift.
When to break the harmonic mixing rules
You do not have to mix in key for every transition, especially with percussive tracks. If two songs have heavy drum patterns and very little melody or bassline definition, their keys do not matter. A drums-only intro can be mixed over a drums-only outro regardless of their Camelot codes.
Short, aggressive cuts also ignore the rules. Hip-hop and bass music DJs often use scratch transitions, backspins, or echo-outs to switch songs in a single beat. The tracks do not overlap musically, so there is nothing to clash.
A big crowd favorite will often work better than an unknown track that matches your current Camelot code. Use harmonic mixing to improve your set, but pick the track the dancefloor is asking for.
How to find track keys and Camelot codes
To mix in key, you need accurate key data for your whole library. You can find the Camelot code of any song with a BPM and key detection tool. DJ software like Rekordbox, Serato, or Traktor also analyzes tracks on import and writes the key to the file's metadata.
No algorithm is perfect. Key detection software is generally 70 to 80 percent accurate. Tracks with ambiguous chords, key changes, or detuned synths can confuse it. If a transition looks right on screen but sounds wrong in the headphones, trust your ears.
Knowing the key also matters for producers working with AI tracks. If you use a stem and vocal isolation platform to extract an acapella from an AI-generated song, check its Camelot code before dropping it into your DAW. A 9A vocal needs an 8A, 9A, 10A, or 9B backing track to sit properly in the mix.
Camelot wheel as code
To check keys without the chart, camelot-wheel on GitHub is an open-source command-line tool and JavaScript library. It converts any key notation (8A, 1m, Am, La menor) to Camelot and Open Key, lists the safe and energy-boost moves, checks whether two tracks can be mashed up and which pitch shift they need, and orders a playlist into a harmonic set.
Frequently asked questions
What is the Camelot wheel?
The Camelot wheel is a visual chart that assigns a number (1 through 12) and a letter (A for minor, B for major) to the 24 musical keys. DJs use it to find tracks with compatible scales, which allows smooth, melodic transitions without advanced music theory.
Which keys mix together?
Tracks mix cleanly when they share the same Camelot code or sit exactly one step away. A track tagged 8A mixes cleanly with another 8A track, one number down (7A), one number up (9A), or the major scale on the same number (8B).
Do I always have to mix in key?
No. You can ignore the Camelot wheel when mixing drum-heavy tracks with no clear melody, or when making rapid cuts and scratch transitions. Track selection and reading the crowd matter more than a perfect harmonic match.
Does changing tempo change the key?
Yes. Speeding up or slowing down a track on a turntable changes its pitch, which changes the musical key. A six percent tempo change shifts the track by one semitone. Modern DJ software prevents this with a Key Lock or Master Tempo feature, which holds the pitch steady while the speed changes.
How do I find the Camelot code of a song?
Run your audio files through a BPM and key finder, or analyze them in DJ software like Serato, Rekordbox, or Traktor. The software detects the dominant scale and tags the file with the matching alphanumeric code.
One idea, one finished track
Ready to make your track?
Describe the idea, pick a style, and HablaMusic writes, sings and mixes the song.