Random Duration-Stretched Slices

Multi-channel random slice time-stretching with PSOLA-based duration manipulation.

Note: This script is functionally identical to the Multi-channel Random Slice Time-Stretcher documented separately. For complete documentation including theory, parameters, and applications, please refer to that guide.

Quick Overview

What it does: Extracts random audio slices, applies PSOLA time-stretching, distributes each to separate channel (CH1=original, CH2-N=stretched slices).

Parameters

ParameterDefaultDescription
number_of_segments4Number of slices (creates 5-channel output)
min_duration0.5sMinimum slice length
max_duration2.0sMaximum slice length
PresetNormal (1.0x)Time-stretch factor

Presets

Quick Start

  1. Select one Sound object (mono or stereo)
  2. Run script
  3. Choose number of segments and duration range
  4. Select time-stretch preset
  5. Output: Multi-channel sound with original + stretched slices
Output format: (1+N) channels where N = number_of_segments. Channel 1 = original (left/mono), Channels 2-N = one stretched slice each. Export as multi-channel WAV for use in DAW.

Key Features

Common Use Cases

For complete documentation: See the full Multi-channel Random Slice Time-Stretcher User Guide which covers detailed theory, parameter interactions, processing pipeline, comparison to other techniques, and extensive application examples.