say(
s,opts) ->buf,info/err
Speak: text in, sample buffer out
| opts field | default | description |
|---|---|---|
voice | "narrator" | preset name or knob table |
rate | 16000 | output sample rate — pass dev:rate() |
| any knob | from voice | f0, f0_range, speed, formant, breath, flutter, growl, quantize, gain override the voice (see sound.speech.voices) |
Deterministic: the same text and opts always yield identical samples.