Skip to content
Back to the blog
Basics ClubMix editorial team 5 min read

Tempo changes and key lock: pitch vs. time-stretching

When you change the tempo of a track, you either change its pitch too, or the software stretches time to keep the key. This guide explains both approaches, how far you can push each one, and how to plan tempo and key changes in a set.

Two ways to change tempo

On a classic turntable, the pitch fader changes the speed of the motor. The record plays faster or slower, and everything changes together: tempo, pitch and the character of the sound. That is still the simplest way to change tempo digitally. The audio is played back at a different rate, exactly like a faster or slower record.

The second way is time-stretching. The software changes the duration of the audio without changing its pitch. In DJ software this function is usually called key lock or master tempo. With key lock on, a track at plus five percent is faster, but its key stays the same.

Both approaches are useful, and both have limits. Knowing when to use which one is part of the craft.

What happens to the key without key lock

Without key lock, speed and pitch are linked. One semitone corresponds to a speed change of about 5.95 percent, because the frequency ratio of a semitone is the twelfth root of two.

In practice this means:

  • Small changes of one or two percent move the pitch by a fraction of a semitone. Most people do not notice, and the track still sounds in tune with others.
  • Around three percent you are close to a quarter tone. Sustained chords and vocals can start to sound slightly out of tune next to the other track.
  • Around six percent the track has moved by a full semitone. On the Camelot wheel that is a move of seven steps, for example from 8A to 3A, which usually breaks a harmonic mix that worked before.

Many DJs like the sound of pure pitch changes, because it keeps transients and the original texture intact. For drum-heavy tracks with little harmonic content, it is often the cleaner choice.

What key lock does and where it reaches its limits

Time-stretching works on very short slices of the audio and recombines them so that the duration changes while the pitch stays put. Modern algorithms are good, but the method is never completely invisible.

  • Small tempo changes of a few percent usually sound natural with key lock on.
  • Larger changes bring audible artefacts: a phasing or metallic tone on vocals and pads, smeared transients, and a softer kick.
  • The quality depends on the software and its settings. Some programs offer several stretching modes with different trade-offs between quality and processor load.

As a rule of thumb, keep key-locked changes small and listen carefully on vocals and long synth notes. If a track needs a big tempo change, consider choosing a different track or using a transition that hides the change.

Step by step: planning tempo in a set

  1. 1Note the tempo of every track. The BPM and key finder (/tools/bpm-key) helps with that, and the analyzer (/audio-analysis) adds a beat grid.
  2. 2Sort the set into blocks of similar tempo and plan the steps between them. The set planner (/tools/set-planner) helps to see the whole curve.
  3. 3Calculate the percentage needed for each transition. Going from 124 to 128 BPM, for example, means a change of about 3.2 percent. The tempo tool (/tools/tempo) can help with the calculation.
  4. 4Decide per transition whether key lock should be on. For harmonically rich tracks and vocals, use key lock for small changes. For drum tracks, pure pitch is often fine.
  5. 5For larger jumps, plan a transition that does not need both tracks at once: an echo out, a cut, or a change during a beatless breakdown.
  6. 6Rehearse the critical transitions with the actual settings you will use.

Using pitch changes on purpose

A pitch change can also be a tool for harmonic mixing. If two tracks are one semitone apart, shifting one of them by about six percent without key lock brings them into the same key, as long as the tempo still fits. Some DJ software also offers a separate key shift that changes the key in semitone steps without changing the tempo, which is itself a form of time-stretching processing with the same kind of artefacts.

Use the Camelot wheel (/tools/camelot) to check what a shift does: one semitone up moves the key seven steps clockwise, one semitone down seven steps anticlockwise.

Trying it out

The best way to learn the difference is to listen. Load a track with a clear vocal or long chord into a deck, change the tempo by two, four and eight percent and compare the result with and without key lock, where your software offers both modes. You can practise beatmatching and tempo adjustment in the free browser deck (/dj); switch Key lock on there to keep the key while the tempo changes. If your browser does not support it, the deck shows a notice and tempo changes also change the pitch.

Common mistakes

  • Leaving key lock on for large tempo changes and wondering why vocals sound metallic.
  • Turning key lock off and pushing a track by six percent without noticing that its key has changed.
  • Checking the key of a track at its original tempo and forgetting that the pitched version is now in a different key.
  • Planning tempo jumps that are too large for a blend instead of using a cut or an echo out.
  • Correcting tempo constantly during a blend instead of matching it before the blend starts.

Checklist

  • Tempo and key of every track noted.
  • Tempo steps between neighbouring tracks calculated.
  • Key-lock decision made for each critical transition.
  • Effective key after pitch changes checked on the Camelot wheel.
  • Large tempo changes planned with a cut, an echo out or a breakdown.
  • Critical transitions rehearsed with the final settings.

Try it with ClubMix

Tempo Calculator