Skip to content

Added 60dB integration - #2

Open
manishEMS47 wants to merge 1 commit into
VicPitic:mainfrom
manishEMS47:main
Open

Added 60dB integration#2
manishEMS47 wants to merge 1 commit into
VicPitic:mainfrom
manishEMS47:main

Conversation

@manishEMS47

Copy link
Copy Markdown

What we added
Live voice dubbing via 60db — GameCap now speaks each translated subtitle line aloud in real time. Deepgram still does transcription; 60db's WebSocket TTS adds the spoken output. It's off by default.

  • services/tts_service.py — streams translated lines to 60db over WebSocket and plays the audio.
  • launcher_app/voice_fetcher.py — fetches your voices (GET /myvoices) for the dropdown.
  • New SIXTYDB_* settings in config.py / settings.json and a "60db Voice (TTS)" section in the launcher.
  • transcription_service.py + main.py wired to call TTS after translation; websockets added to requirements.

How to use it

  1. pip install -r requirements.txt
  2. python launcher.py → Settings
  3. Paste your 60db API Key, click Save, reopen Settings so voices load.
  4. Pick a Voice, turn SIXTYDB_TTS_ENABLED on, Save.
  5. Launch a game — lines are now subtitled and spoken.

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