Paulstretch — Paul Nasca's extreme stretch (8×+) for ambient/drone material
- Status
- calibrated
- Updated
- Family
- stretch, 10 packages under it
- Plugin
stretch-paul, effect, whole signal, 2 parameters- Category
- time & pitch
- Licence
- MIT
- Dependencies
- 1 package, all permissive: MIT
- Downloads
- 3,300 last month
- Tests
- 47 in audiojs/stretch's CI, passed at b844b07,
Parameters
factor- 4
- 0.25 to 8
frame- 0.37 s
- 0.05 to 2 s
Extreme time stretching via phase randomization (Nasca, 2006). Preserves magnitudes but replaces all phases with a deterministic PRNG, producing smooth, dreamlike textures. Designed for large factors.
import paulstretch from '@audio/stretch-paulstretch'
paulstretch(data, { factor: 8 })
paulstretch(data, { factor: 100, frameSize: 8192 })
| Param | Default | |
|---|---|---|
factor |
8 |
Time stretch ratio (best >2×) |
frameSize |
4096 |
FFT size (larger = smoother) |
seed |
0x1f123bb5 |
PRNG seed (deterministic output) |
Use when: ambient music, sound design, drone generation, 8×–1000× stretch.
Not for: small ratios (<2× sounds washed out), preserving rhythm or transients.
Part of @audio/stretch.
License
MIT · ॐ