diff --git a/audio_handler.py b/audio_handler.py index 9214693..4b42a20 100644 --- a/audio_handler.py +++ b/audio_handler.py @@ -51,9 +51,10 @@ async def text_to_speech_async(text: str) -> str: filepath = os.path.join("/tmp", filename) try: - # Voz Masculina PT-BR: Donato - voice = "pt-BR-DonatoNeural" - communicate = edge_tts.Communicate(texto_limpo, voice, rate="+35%") + # Voz Masculina PT-BR: Antonio (reconhecidamente estável) + voice = "pt-BR-AntonioNeural" + # Rate +30% (muito rápido mas seguro para palavras curtas) + communicate = edge_tts.Communicate(texto_limpo, voice, rate="+30%") await communicate.save(filepath) return filename except Exception as e: