Add voice cloning to the TTS wrapper, default to the owner's own voice sample

tts_server.py now resolves `voice` against services/voices/*.wav (gitignored,
personal recordings) and clones via chatterbox's audio_prompt_path, falling
back to "default" (symlinked to ~/chatterbox-tts-cli/my_voice_deutsch_60s.wav)
for unknown names, or to the old built-in-voice-by-language-code behavior if
`voice` is a recognized language. All podcast speaker profiles now point at
voice_id "default" until distinct per-speaker reference clips are added.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Dieter Schlüter 2026-07-10 22:38:03 +02:00
commit 0d8af23598
3 changed files with 62 additions and 7 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@
surreal_data/
notebook_data/
services/logs/
services/voices/