@audio/ stretch-pvoc-lock
Status calibrated
npm1.3.3licenseMIT
Phase-locked vocoder (Laroche & Dolson 1999) — eliminates phasiness of plain pvoc
Overview
- Install
- Updated
- Family
- stretch, 10 packages under it
- Tags
- time & pitch
Phase-locked vocoder (Laroche & Dolson, 1999). After propagating phases, locks non-peak bins to their nearest spectral peak's rotation — restores harmonic phase coherence and eliminates the phasiness of plain phase vocoder.
import pvocLock from '@audio/stretch-pvoc-lock'
let out = pvocLock(data, { factor: 2 })
| Param | Default | |
|---|---|---|
factor |
1 |
Time stretch ratio |
frameSize |
2048 |
FFT size (power of 2) |
hopSize |
frameSize/4 |
Hop between frames |
Use when: general music — tonal/ambient material.
Not for: percussive material where attacks must stay sharp — use @audio/stretch-transient.
Part of @audio/stretch.
License
MIT · ॐ