Skip to main content

Music Production

Time Stretching

Definition

Time stretching changes the length or tempo of recorded audio without changing its pitch, so a drum loop or a vocal can be slowed down or sped up to fit a song's tempo and stay in the same key.

On a tape machine or a simple sampler, speed and pitch are tied together: play a recording faster and it gets shorter and higher; play it slower and it gets longer and lower. Time stretching breaks that link. It changes how long the audio lasts and keeps its pitch, so you can fit a loop recorded at one tempo into a song at another, or tighten a performance, without moving it out of key.

The arithmetic

At 120 BPM a quarter-note beat lasts 0.5 seconds, so a bar of 4/4 lasts 2 seconds. At 90 BPM the same bar lasts about 2.67 seconds. To fit a one-bar loop recorded at 120 BPM into a 90 BPM song, it has to become a third longer. Playing it at three-quarters speed would do that, but it would also lower the pitch by almost exactly five semitones, a perfect fourth. Time stretching lengthens it and leaves the pitch alone. Work out beat and bar lengths at any tempo in Tempo Math: Beats, Bars and Delay Times.

How it works

Much pitched sound, such as a sung vowel, is the same small wave shape repeating many times. A common method cuts the audio into tiny overlapping slices, often called grains, roughly a hundredth to a tenth of a second long, and repeats some to lengthen the sound or leaves some out to shorten it, fading each slice in and out so the joins do not click. Because the wave shapes themselves are not stretched, the pitch stays where it was. Ableton Live, for example, describes its warp modes as granular techniques.

In a DAW

Most DAWs can stretch audio, under different names. Ableton Live calls it warping: it finds the transients, the sharp starts of notes and beats, and you pin warp markers to them and drag the markers onto the beat grid. Logic Pro calls it Flex Time, and other programs speak of elastic audio. Live also offers modes for different material: one that protects the attacks in drum loops, one for melodic lines such as vocals and bass, one for textures, and more demanding ones for complete mixes. The right mode for the material makes a large difference. The same tools can move single hits onto the grid (quantizing audio).

Artifacts and limits

Small changes often pass unnoticed when the mode suits the material. Large ones reveal the process: slowed-down drums can turn "flammy" as their attacks are repeated, hard consonants in speech can stutter, and other material can pick up audible artifacts. Some producers stretch sounds to extremes on purpose.

Not the same as

  • Pitch shifting does the opposite job: it changes the pitch and keeps the length. The same slicing method serves both, so many tools offer both.
  • Changing the tempo of a MIDI part needs no stretching at all: MIDI is a set of instructions, and the instrument simply plays the notes faster or slower.
  • A performer's rubato stretches musical time expressively; it is playing, not audio processing.

Common questions

Does time stretching change the pitch?

No, that is its purpose: the audio gets longer or shorter while the pitch stays the same. Changing the playback speed instead, as tape and simple samplers do, changes both together.

What is warping in Ableton Live?

Live's name for time stretching. Live detects where notes and beats begin, and warp markers pin those points to the beat grid, so a clip follows the song's tempo. Each warp mode suits a different kind of audio, such as drums, melodic lines or full mixes.

Practice it: free worksheets

Was this entry helpful?

Comments