Rework TTS subsystem: sync UI template with Google Translate engine, fix audio, add live controls. - #1674
Open
MoncefDrew wants to merge 1 commit into
Open
Rework TTS subsystem: sync UI template with Google Translate engine, fix audio, add live controls.#1674MoncefDrew wants to merge 1 commit into
MoncefDrew wants to merge 1 commit into
Conversation
MoncefDrew
marked this pull request as draft
May 12, 2026 21:50
MoncefDrew
marked this pull request as ready for review
May 12, 2026 22:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the speech-dispatcher (SSIP) backend with Google Translate audio for text-to-speech. This removes the dependency on
speech-dispatcherand works out of the box on any system with network access.What changed:
speech.js— NewGoogleTranslateTTSengine that fetches MP3 audio from Google Translate, with playback via mpv (recommended, with JSON IPC for word highlighting), ffplay, or GtkMediaFile as fallback.tts-box.ui— Rebuilt the UI template with language/region dropdowns, speed (0.25×–3×), and volume controls.tts.js— Updated to wire the new UI controls to the engine. Volume and speed adjust live via mpv IPC — no audio interruption.Optional dependencies:
mpv(best experience),curl,ffmpeg/ffprobe.