sound.speech.synth

sound.speech

synth(events, opts) -> buf, info/err

Render phoneme events into a sample buffer

The phoneme-level entry: renders an event list (hand-authored or from phonemize).

Missing dur/f0 fields are filled from the phoneme tables and a flat contour at the voice's base pitch.

opts.rate resamples the output. info = { rate, dur (s), frames, events }.