fix(tts): switch to Jack Marlowe - native German voice
Replace George (British EN) with Jack Marlowe (Gng1FdSGZlhs6jKgzAxL), the only native German voice in the library. Fixes garbled number/date pronunciation. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
4
voice.py
4
voice.py
@@ -30,7 +30,7 @@ LK_API_SECRET = os.environ.get("LIVEKIT_API_SECRET", "")
|
|||||||
ELEVENLABS_KEY = os.environ.get("ELEVENLABS_API_KEY", "")
|
ELEVENLABS_KEY = os.environ.get("ELEVENLABS_API_KEY", "")
|
||||||
BRAVE_API_KEY = os.environ.get("BRAVE_API_KEY", "")
|
BRAVE_API_KEY = os.environ.get("BRAVE_API_KEY", "")
|
||||||
MEMORY_SERVICE_URL = os.environ.get("MEMORY_SERVICE_URL", "http://memory-service:8090")
|
MEMORY_SERVICE_URL = os.environ.get("MEMORY_SERVICE_URL", "http://memory-service:8090")
|
||||||
DEFAULT_VOICE_ID = "JBFqnCBsd6RMkjVDRZzb" # George - warm, British male, multilingual
|
DEFAULT_VOICE_ID = "Gng1FdSGZlhs6jKgzAxL" # Jack Marlowe - native German male, standard accent
|
||||||
|
|
||||||
_VOICE_PROMPT_TEMPLATE = """Du bist ein hilfreicher Sprachassistent in einem Matrix-Anruf.
|
_VOICE_PROMPT_TEMPLATE = """Du bist ein hilfreicher Sprachassistent in einem Matrix-Anruf.
|
||||||
Aktuelle Zeit: {datetime}
|
Aktuelle Zeit: {datetime}
|
||||||
@@ -581,7 +581,7 @@ class VoiceSession:
|
|||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
logger.warning("Memory query failed: %s", exc)
|
logger.warning("Memory query failed: %s", exc)
|
||||||
|
|
||||||
# Voice pipeline — George (British male, multilingual DE/EN)
|
# Voice pipeline — Jack Marlowe (native German male)
|
||||||
self._http_session = aiohttp.ClientSession()
|
self._http_session = aiohttp.ClientSession()
|
||||||
voice_id = os.environ.get("ELEVENLABS_VOICE_ID", DEFAULT_VOICE_ID)
|
voice_id = os.environ.get("ELEVENLABS_VOICE_ID", DEFAULT_VOICE_ID)
|
||||||
self.session = AgentSession(
|
self.session = AgentSession(
|
||||||
|
|||||||
Reference in New Issue
Block a user