Documentation Index
Fetch the complete documentation index at: https://docs.sampler.meiji.industries/llms.txt
Use this file to discover all available pages before exploring further.
Time-stretch a loop to tempo
What this recipe is for
Use this when a loop has the right vibe but the wrong length for the current session. The goal is not mathematical perfection for its own sake. The goal is getting the loop to sit inside the groove.How time-stretch works
Meiji Sampler uses Signalsmith Stretch, a formant-preserving spectral stretcher, to change the duration of a loop without shifting its pitch. The stretch is applied as a pre-processing step. The result is cached so playback stays lightweight. The supported stretch ratio range is0.25x to 4.0x (quarter speed to quadruple speed). Ratios near 1.0x (within about 1%) are treated as no-ops to avoid unnecessary processing.
Steps
Establish session timing first
Record or confirm the loop that should define the groove. This is the timing reference that the stretched loop will match.
Set the stretch source
In the mixer, navigate to the stretch source control for the channel. Select the channel whose timing you want to match. Meiji Sampler calculates the ratio automatically based on the two loops’ lengths.
Listen and adjust
Play both channels together. The stretched loop should lock to the reference. If it drifts, check that the source loop length is accurate. Stretch quality depends on the input material being correctly trimmed.
Tips
- Melodic and vocal material stretches cleanly at moderate ratios. Extreme ratios (below
0.5xor above2.0x) can introduce artifacts on any material. - Percussive loops may sound softer at high stretch ratios because transients get spread. Consider using a separate unprocessed layer for attack.
- Cached results are stored on disk. Changing the stretch source or ratio regenerates the cache automatically. If you ever hear stale audio after an update, the cache invalidates itself on launch.