From b820f6b5b572cd6f0e2afa3ebd3d32bda96edaed Mon Sep 17 00:00:00 2001 From: admtracksteel Date: Sun, 29 Mar 2026 00:18:45 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Auto-deploy:=20BotVPS=20atualiza?= =?UTF-8?q?do=20em=2029/03/2026=2000:18:45?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- audio_handler.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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: