Skip to content

Promote to production: Text-to-Speech neural download + pauses - #274

Merged
slaveofcode merged 2 commits into
mainfrom
develop
Aug 17, 2026
Merged

Promote to production: Text-to-Speech neural download + pauses#274
slaveofcode merged 2 commits into
mainfrom
develop

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

Adds an on-device neural voice to TTS with WAV/MP3 download and [pause] support.

Browser (OS) voices can't be recorded, so this adds an on-device neural
TTS (MMS-TTS via @huggingface/transformers, loaded through the same /hf
proxy as Whisper) that generates real audio samples. Users can play the
result, download WAV or MP3 (lamejs), and insert pauses with [pause]
markers or blank lines (silence spliced into the buffer). OS-voice
playback is unchanged. Pure tts-audio.lib.ts (WAV encode, PCM, silence,
pause-split) unit-tested. New dep: @breezystack/lamejs.
feat(tts): on-device neural voice — WAV/MP3 download + pauses
@slaveofcode
slaveofcode merged commit 417b7d7 into main Aug 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant