Additive resynthesis from partial trajectories — interpolated freq/amp, integrated phase
- Status
- calibrated
- Updated
- Family
- sinusoidal, 3 packages under it
- Category
- time & pitch
- Licence
- MIT
- Dependencies
- none
- Downloads
- 36 last month
- Tests
- 4 in audiojs/sinusoidal's CI, passed at 453f7c4,
Additive resynthesis, trajectory smoothing
import synth from '@audio/sinusoidal-synth'
Additive resynthesis from the partial trajectories produced by sinusoidal-track: per-sample linear interpolation of frequency/amplitude between frame centers, with phase integrated for continuity (McAulay-Quatieri 1986) — no clicks at partial start/end (one-hop fade in/out).
let model = track(data)
let out = synth(model, { length: data.length }) // → Float32Array
| Param | Default | |
|---|---|---|
model |
— | {partials, frames, hop, frameSize, fs} from sinusoidal-track (positional) |
length |
frames·hop + frameSize |
Output length, samples |
Use when: resynthesizing tracked partials — after trajectory editing/smoothing (pitch correction, formant shifting) or as the sinusoidal half of an SMS reconstruction (pairs with sinusoidal-residual for the noise layer).
Part of @audio/sinusoidal — the sinusoidal family umbrella.
MIT © audiojs