跳至主要内容

Time-Stretching Algorithms Explained: Modes and Artifacts

Time-stretching algorithms explained: how phase vocoder, granular, slicing, and elastique-type modes work, which to use for drums, vocals, and full mixes.

time-stretching algorithmstime stretching explainedwarp modesFlex Time algorithmsphase vocoderelastiquetime-stretch artifactsbest warp mode for drums

Time-stretching algorithms

Quick answer: Time-stretching changes duration without changing pitch, and each algorithm family trades one artifact for another. Match the mode to the material: transient modes for drums, monophonic modes for single voices, polyphonic or complex modes for full mixes. Free verified loops on Plugg Supply are an easy way to hear the differences.

.

快速回答

Time-stretching algorithms change audio length without changing pitch using time-domain frame methods, the phase vocoder, transient slicing, or hybrid engines. Use a transient mode for drums (Beats, Slicing, Rhythmic), a monophonic mode for vocals (Tones, Monophonic, e3 Mono), and a polyphonic mode for full mixes (Complex Pro, Polyphonic, e3 Generic).

What is time-stretching in music production?

Time-stretching changes how long a piece of audio lasts without changing its pitch. You use it to fit a loop to your project tempo, tighten a performance, or slow a sample down while keeping it in key.

It is different from re-pitching, which speeds up or slows down playback and moves pitch with it, like a turntable. True stretching has to invent or discard audio, and that is where artifacts come from. Researchers Jonathan Driedger and Meinard Müller put it plainly in their 2016 review of time-scale modification: because music mixes harmonic, percussive, and transient components, no single method copes with every signal equally well[1].

That is why every DAW offers several modes. Once you know the three or four underlying approaches, the menus in Ableton Live, Logic Pro, FL Studio, and Pro Tools stop being guesswork. If you work mostly in Logic or Live, our Flex Time vs Warp comparison covers the editing workflow; this article focuses on the algorithms and their sound.

What are the main time-stretching algorithms?

Most stretch modes fall into four families: time-domain overlap-add methods (including granular ones), the phase vocoder, transient slicing, and hybrid engines that combine them. Each keeps one quality of the sound intact and sacrifices another.

Time-domain overlap-add (OLA, WSOLA, granular)

These methods cut the signal into short overlapping frames and repeat or drop frames to change length. Plain overlap-add with very short frames of about 10 ms works well on purely percussive audio, but waveform-similarity methods such as WSOLA can double transients when stretching, skip them when compressing, and warble on polyphonic music[1].

Keeps: Timbre and pitch of simple sources

Risks: Doubled or skipped hits, warble on chords

Phase vocoder

The phase vocoder works in the frequency domain, adjusting the phase of each frequency bin so tones continue smoothly. It suits harmonic material, but it tends to smear transients and add phasiness, a coloration the review describes as reverberant, with less bite[1]. Logic Pro's Polyphonic mode is based on phase vocoding and is its most processor-intensive Flex algorithm[3].

Keeps: Sustained tones and chords

Risks: Soft attacks, washy or distant sound

Transient slicing

Slicing cuts audio at transients and moves the pieces without stretching them. Logic's Slicing mode plays each slice at its original speed and offers Fill Gaps and Decay to cover the space left when the audio is slowed down[3].

Keeps: Every drum hit exactly as recorded

Risks: Gaps when slowing, overlaps when speeding up

Hybrid engines

Commercial engines mix these ideas with transient detection and psychoacoustic models. zplane's ELASTIQUE PRO, for example, advertises sharp transients without phasing artifacts and formant-preserving pitch shifting for polyphonic audio[6]. Research points the same way: separating a signal into harmonic and percussive parts and stretching each with a suitable method substantially reduces artifacts[1].

Keeps: A balance of transients and tone

Risks: Higher CPU load, subtle artifacts at extreme ratios

What are the time-stretch modes called in each DAW?

Each DAW names its modes after the material they suit rather than the math behind them. The table maps the same jobs across four DAWs, based on each manufacturer's documentation. For every Ableton control in detail, see our guide to Ableton warp modes.

MaterialAbleton Live warp modeLogic Pro Flex TimeFL Studio stretch modePro Tools Elastic Audio
Drum loops and percussionBeats[2]Slicing[3]Slice stretch or Slice map[4]Rhythmic[5]
Vocals, bass, solo instrumentsTones[2]Monophonic[3]e3 Mono[4]Monophonic[5]
Full mixes and chordsComplex or Complex Pro[2]Polyphonic[3]e3 Generic[4]Polyphonic, X-Form, or elastique Pro[5]
Pads, drones, noiseTexture[2]Polyphonice3 GenericPolyphonic
Tape-style speed changeRe-Pitch[2]Speed (FX)[3]Resample[4]Varispeed[5]

Two details are easy to miss. FL Studio's time-stretching uses zplane's Elastique Pro version 3 for its e3 modes, and its offline Elastique options give the highest quality but do not follow tempo changes[4]. Pro Tools lists X-Form as its highest-quality algorithm and notes that it requires rendering[5].

Which time-stretch mode is best for drums?

Use a transient-based mode for drums: Beats in Ableton, Slicing in Logic, Slice stretch or Slice map in FL Studio, Rhythmic in Pro Tools. These modes keep each hit intact and only move it, so kicks and snares keep their punch.

In Ableton's Beats mode, set Preserve to Transients for percussive audio, then choose a Transient Loop Mode for the gaps: Loop Off lets each segment play and fall silent, Loop Forward loops the tail until the next transient, and Loop Back-and-Forth alternates direction. The Transient Envelope control fades each segment, where 100 means no fade[2]. FL Studio splits the job by tempo: Slice stretch is meant for drum loops at or below the project tempo, and Slice map for loops at or above it[4].

  1. Check the transient markers
    Zoom in and confirm there is a marker on every kick, snare, and important hat. Add or delete markers before judging the sound.
  2. Pick the gap behavior
    When slowing a loop down, try Loop Off with a short envelope for tight, gated drums, or Loop Forward for fuller sustain.
  3. Shorten slices when speeding up
    If hits overlap after speeding up, shorten the slices. Logic's Slice Length parameter does exactly this and can also create a gated effect[3].
  4. Compare against re-pitch
    For stretches under a few percent, re-pitching the loop may sound more natural than any stretch mode. The pitch change is small enough to go unnoticed.

If a drum loop needs heavy tempo changes, chopping it and re-sequencing the hits is often cleaner than stretching. Our guide to chopping samples covers that route.

Which time-stretch mode is best for vocals?

Use a monophonic mode for a single voice or solo instrument: Tones in Ableton, Monophonic in Logic and Pro Tools, e3 Mono in FL Studio. These modes track the pitch of one sound, so they stretch it more smoothly than a general-purpose mode.

The conditions matter. Apple notes that Logic's Monophonic algorithm expects a relatively dry recording without audible reverb, and suggests Polyphonic otherwise; its Percussive option protects transients in plucked or percussive tonal parts[3]. In Ableton's Tones mode, small grain sizes suit material with distinct pitch changes, while larger grains reduce noise but can introduce artifacts[2]. FL Studio describes e3 Mono as specialized for vocals and solo instruments, with automatic formant preservation[4].

A vocal sample with reverb, doubles, or a band behind it is not monophonic. Treat it as a full mix, or separate the vocal first and stretch the stem on its own.

Which time-stretch mode is best for full mixes and chord loops?

Use the polyphonic or complex mode for full songs, chord loops, and anything with several instruments: Complex or Complex Pro in Ableton, Polyphonic in Logic, e3 Generic in FL Studio, Polyphonic or elastique Pro in Pro Tools.

Ableton recommends Complex for audio that combines beats, melodies, and textures, and describes Complex Pro as a variation that may give higher quality results, especially on polyphonic textures and full songs, at a higher CPU cost; the manual suggests freezing or resampling tracks that use it[2]. For pads, drones, and noise without a clear pitch, Ableton's Texture mode adds a Fluctuation control that introduces randomness, which can hide repetitive grain patterns[2].

When a mix stretches badly in every mode, split it. Separate drums from the melodic parts with a stem tool, stretch drums with a transient mode and the rest with a polyphonic mode, then recombine. That mirrors the harmonic-percussive approach from the research[1]. Our comparison of AI stem separation tools can help you pick a splitter.

How do you recognize and fix time-stretch artifacts?

Name the artifact first, then change the mode or the settings that cause it. Most problems come from a mode that does not match the material.

ArtifactWhat you hearLikely causeFirst fix
Transient doublingFlams or stuttered hitsTime-domain stretching of percussive audio[1]Switch to a transient or slicing mode
Transient smearingSoft, blurry attacksPhase vocoder processing[1]Use a transient-aware or hybrid mode
PhasinessDistant, reverberant, less biteLoss of phase coherence in the phase vocoder[1]Try Complex Pro, elastique, or a smaller stretch
WarblingWobbling chordsWSOLA-type processing on polyphonic music[1]Move to a polyphonic or complex mode
Gaps or chopped tailsSilence between slowed hitsSlicing without gap fillEnable Fill Gaps, decay, or transient looping
Grainy or metallic toneBuzzing, robotic textureGrain size mismatched to the sourceAdjust grain size, or render at the final tempo

How far can you time-stretch a sample before it sounds bad?

Small changes are usually transparent, and artifacts grow with the ratio. As a working rule, changes within about 5 to 10 percent rarely draw attention on suitable material, while stretches beyond 20 to 30 percent start to sound processed in most modes.

Pitch shifting runs into the same limits, because one common way to shift pitch is to resample the signal and then time-stretch it back to its original length, so stretch artifacts carry over[1]. Our guide on pitch-shifting samples without artifacts covers that side, including formants.

Three habits help. Stretch toward the sample's original tempo when you can, choosing a project tempo near it. Render or freeze the stretched audio once it sounds right, so the result does not change with CPU load or later edits. And when a stretch still sounds wrong, embrace the other option: re-pitch the loop, which is how many classic sample-based records got their character.

Practice stretch modes on clean source material: grab free drum loops and melodic samples from the Plugg Supply libraries and compare each mode side by side.

将 Plugg Supply 添加为首选来源 在 Google 热门报道中优先看到我们的指南和资讯 (在新标签页中打开)

Learning path

相关答案中心

常见问题

What is the difference between time-stretching and pitch-shifting?
Time-stretching changes the length of audio without changing its pitch, while pitch-shifting changes pitch without changing length. Re-pitching, also called varispeed, changes both together like a turntable. Many pitch shifters work by resampling the audio and then time-stretching it back to the original duration, which is why stretch artifacts also appear in pitch-shifted audio.
Which Ableton warp mode is best for samples?
The best Ableton warp mode depends on the sample. Ableton recommends Beats for drum loops, Tones for vocals and monophonic parts, Texture for pads and noise, and Complex or Complex Pro for full songs; Re-Pitch changes pitch with tempo like a turntable. For a soul loop with drums and melody together, start with Complex Pro and compare it with Re-Pitch.
Which Logic Pro Flex Time mode should I use for drums?
For drums in Logic Pro, use the Slicing Flex Time algorithm. Apple describes Slicing as cutting audio at transient markers and playing each slice at its original speed, with Fill Gaps, Decay, and Slice Length parameters to handle spaces and overlaps. Flex Time Automatic also picks Slicing for percussive, non-tonal material.
What time-stretch algorithm does FL Studio use?
FL Studio uses zplane's Elastique Pro version 3 for its e3 time-stretching modes, with older e2 modes kept for compatibility with projects made before FL Studio 12. The main choices are e3 Generic for general material, e3 Mono for vocals and solo instruments, Slice stretch and Slice map for drum loops, and Resample for tape-style speed changes.
Why do my stretched drums sound flammy or doubled?
Stretched drums sound flammy or doubled when a time-domain algorithm repeats audio frames that contain a transient, an artifact called transient doubling or stuttering. Switch the clip to a transient-based mode such as Beats, Slicing, Slice stretch, or Rhythmic, check that every hit has a transient marker, and set how gaps are filled.
Is Complex Pro better than Complex in Ableton Live?
Complex Pro is often better than Complex in Ableton Live for polyphonic textures and full songs. Ableton describes Complex Pro as a variation of the Complex algorithm that may offer higher quality results but can be more CPU-intensive, and suggests freezing or resampling tracks that use it. Compare both on your material, because results vary by source.