
Synthesises each String into a fixed 24 kHz mono AudioFrame with the Kokoro local TTS model, concatenating every segment Kokoro emits for the input into one continuous waveform.
Local LLM reply spoken aloud and forwarded as a JSON-wrapped payload.
Static prompt lines rendered to speech and posted out as a JSON-wrapped payload.
String, or text that produces no audio segments, returns an empty mono AudioFrame without raising — silent gaps surface as zero-length frames.voice must name a real Kokoro preset; an unknown name is not caught at startup and fails inside the pipeline on the first call that uses it.lang_code selects the Kokoro language frontend; pairing it with text in a different language usually yields unintelligible audio rather than an error.device on a host with no visible GPU continues on CPU at much slower speeds.device and lang_code bind the pipeline once at startup, whereas voice is read fresh on every call and can be switched per request without redeploying.live-test prerelease 2026-09-01T16:09:27Z
Automated release