chore(matrix-tts-bot): set German (de_thorsten) as default voice

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-02-14 11:55:47 +01:00
parent 67f3d3020a
commit 0099e1eebc
2 changed files with 2 additions and 2 deletions

View file

@ -980,7 +980,7 @@ services:
MATRIX_ALLOWED_ROOMS: ${MATRIX_TTS_BOT_ROOMS:-}
TTS_URL: http://host.docker.internal:3022
TTS_API_KEY: ${TTS_INTERNAL_API_KEY:-}
DEFAULT_VOICE: af_heart
DEFAULT_VOICE: de_thorsten
DEFAULT_SPEED: 1.0
MAX_TEXT_LENGTH: 500
volumes:

View file

@ -122,7 +122,7 @@ export class TtsService {
/**
* Synthesize text to speech - auto-detects language
*/
async synthesize(text: string, voice: string = 'af_heart', speed: number = 1.0): Promise<Buffer> {
async synthesize(text: string, voice: string = 'de_thorsten', speed: number = 1.0): Promise<Buffer> {
// Auto-detect language if using English voice but text is German
const textIsGerman = this.isGerman(text);
const voiceIsGerman = this.isGermanVoice(voice);