mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 12:21:10 +02:00
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:
parent
67f3d3020a
commit
0099e1eebc
2 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue