feat(speech): model-agnostic, local-first speech synthesis packages #22

Closed
opened 2026-10-27 14:51:29 +00:00 by crapougnax · 0 comments
Owner

Migrated from GitHub https://github.com/Quatrain/Core/issues/69 (opened by @crapougnax on 2026-10-27).

New packages providing a model-agnostic speech synthesis contract, local-first:

  • @quatrain/speech: contract (SpeechSynthesizerInterface, options: locale, voice, style, rate, pitch), sentence splitting so playback starts on the first sentence, voice selection, SpeechController (queue, stop, fallback chain, normalized events: started / ended / interrupted).
  • @quatrain/speech-browser: Web Speech speechSynthesis adapter (on-device voices, no network).
  • @quatrain/speech-http: plays audio returned by any HTTP endpoint, sentence by sentence (cloud voices behind a server endpoint).

Follow-ups: speech-native (WebView ↔ expo-speech bridge), speech-gemini / speech-elevenlabs server synthesizers, SpeechRecognizerInterface (dictation).

> Migrated from GitHub https://github.com/Quatrain/Core/issues/69 (opened by @crapougnax on 2026-10-27). New packages providing a model-agnostic speech synthesis contract, local-first: - `@quatrain/speech`: contract (`SpeechSynthesizerInterface`, options: locale, voice, style, rate, pitch), sentence splitting so playback starts on the first sentence, voice selection, `SpeechController` (queue, stop, fallback chain, normalized events: started / ended / interrupted). - `@quatrain/speech-browser`: Web Speech `speechSynthesis` adapter (on-device voices, no network). - `@quatrain/speech-http`: plays audio returned by any HTTP endpoint, sentence by sentence (cloud voices behind a server endpoint). Follow-ups: `speech-native` (WebView ↔ expo-speech bridge), `speech-gemini` / `speech-elevenlabs` server synthesizers, `SpeechRecognizerInterface` (dictation).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
quatrain/core#22
No description provided.