In this lesson
Matching tempo and key between beats, vocals and samples
Why a vocal, a sample and a beat fit together or clash, with the maths for stretching, transposing and setting pitch correction to the right key.
Updated · 7 min read · Lesson 2 of 3 in Production Tips
In short
- One beat lasts 60,000 divided by the BPM in milliseconds, and a tempo exactly half or double keeps every beat on the same grid.
- Keys next to each other on the Camelot wheel share six or seven of their seven notes, which is why they sit together without clashing.
- Set pitch correction to the beat's key and scale, then check for borrowed notes such as the G♯ in a harmonic minor melody in A minor.
In this lesson (8)
The verse that fits one beat and fights another
You record a verse you love over one beat, then the producer sends a better one and you drop the vocal on top. Every syllable lands a little off the grid, and the hook rubs against the chords on every bar. Or you pull a sample into a session and it clashes with the keys even though both sound fine alone.
The parts disagree about one of two things: when the beats land, or which notes belong.
Why it matters
Tempo and key are fixed in the take
A sung or rapped take carries its tempo and its key with it. Flow, breaths and the gaps between lines sit on the grid it was recorded to, and every note sits on a pitch. Move the take to a new beat and both have to match, or something has to be stretched, transposed or re-recorded. Knowing which moves are clean and which ones damage the take saves sessions.
The science
Two grids, one for time and one for pitch
counts beats per minute, so one beat lasts:
At 140 BPM a beat lasts 428.6 ms. Move a verse recorded at 140 onto a 90 BPM beat and every syllable lands in the wrong place; stretching it to fit makes it 56 percent longer. The exception is a tempo exactly half or double. At 70 BPM one beat lasts exactly two beats at 140, so the vocal still lands on the grid and now feels double-time. Trap uses the same relationship: written around 140 with the snare on beat 3, it feels like 70.
Time-stretching changes length without changing pitch, by cutting the audio into short overlapping frames and laying them out again at a new spacing. Small changes are clean. Larger ones smear and give sustained sounds a hollow, phasey tone, the typical artefacts of these methods (Driedger and Müller, 2016). Work out the change as a ratio: 140 to 145 BPM is 145 / 140 = 1.036, a 3.6 percent stretch.
, the tape method many samplers still use, changes speed and pitch together. Changing the tempo by a ratio moves the pitch by:
One semitone is a ratio of , close to 6 percent. Slowed and pitched-down edits are this effect.
The pitch grid is the key: a home note plus a scale. A minor uses A, B, C, D, E, F and G, and a hook built from those notes fits an A minor beat. The Camelot wheel from Mixed In Key numbers the twelve keys like a clock, A for minor and B for major. Keys with the same number share all seven notes (8A, A minor, and 8B, C major). One step around the wheel is a fifth away and shares six.
Hear the grid side of this: the same beat from 60 to 160 BPM. Notice which tempos feel like halves or doubles of each other.
Listen
Change only the tempo
The same pattern and the same sounds from 60 to 160 BPM. Notice where the beat stops feeling heavy and starts feeling urgent.
Start with your speakers or headphones low.
Try it
Match a sample, then set pitch correction
Steps 5 to 7 need a pitch corrector with key and scale settings, which several DAWs include.
0 of 7 steps done
Common mistake
Trusting the detector and the default scale
You set pitch correction to whatever the key detector reported and leave the scale on natural minor. Minor-key trap and drill melodies often borrow the raised seventh of harmonic minor, G♯ in A minor. A natural minor setting pulls it to G or A, and the line warbles. Check the melody's notes against the scale before you blame the singer.
The second mistake is stretching too far. Past a few percent, re-recording the part at the new tempo usually sounds better than any algorithm. And when a hook sits too high, ask the producer to transpose the beat in the project rather than pitch-shifting the finished file: each semitone multiplies every frequency by 1.0595, so two semitones down takes an 808 on F1 from 43.7 Hz to D♯1 at 38.9 Hz, and the drums would be retuned with it.
Takeaway
Check both grids before you commit
Before you move a part between projects, check the tempo ratio and the key. Exact halves and doubles keep the grid; small stretches are clean; anything bigger wants a new take. Neighbouring keys share six notes, share all seven, and pitch correction needs the scale the melody really uses. More on how correction changes a performance is in the lesson on pitch correction and confidence.
Transient
The short, sharp start of a sound, like the crack of a snare or a pick hitting a string. It carries a lot of how hard a sound feels and how quickly the ear recognizes it.
Varispeed
Changing playback speed so tempo and pitch move together, like tape running faster or slower. About 6% faster is one semitone higher.
Relative key
A major key and a minor key that share the same notes, such as C major and A minor.
3 questions
Check yourself
Sources
Show the sourceHide sources
- Driedger, J., & Müller, M. (2016). A review of time-scale modification of music signals. Applied Sciences, 6(2), 57.
Next lesson · 3 of 3
Mixing rap vocals recorded at homeA bedroom vocal sounds distant because the room is recorded with it. How mic distance sets that balance, and a chain order that keeps compressors on the voice.
Written by Virzy Guns
Songwriter and producer, founder of Virzy Guns Production. Now building HealingWave.