From da82d433a14f4e7e999ff352b7a605404a2a5374 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Wed, 11 Mar 2020 17:05:29 +0100 Subject: [PATCH] Update tts.py --- tools/release22/tts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/release22/tts.py b/tools/release22/tts.py index fc42cfeb6..04781e2cc 100755 --- a/tools/release22/tts.py +++ b/tools/release22/tts.py @@ -41,7 +41,7 @@ def generate(str, filename): output = u"output.mp3" tts = gTTS(text=str, lang=voice[:2]) tts.save(output) - command = "sox --norm %s -r 32000 %s tempo 1.2" % (output, filename) + command = "sox %s -r 32000 %s tempo 1.2 norm" % (output, filename) os.system(command.encode('utf-8')) command = "rm -f output.mp3" os.system(command.encode('utf-8')) -- 2.11.4.GIT