diff --git a/tools/nightly22/tts.py b/tools/nightly22/tts.py index 5ad157d2c..acb5cfab4 100755 --- a/tools/nightly22/tts.py +++ b/tools/nightly22/tts.py @@ -37,7 +37,7 @@ def generate(str, filename): output = "output.mp3" command = 'gtts-cli -l %s -o %s "%s"' % (voice[:2], output, str) os.system(command.encode('utf-8')) - command = "sox %s -r 32000 %s" % (output, filename) + command = "sox %s -r 32000 %s tempo 1.2" % (output, filename) os.system(command.encode('utf-8')) command = "rm -f output.mp3" os.system(command.encode('utf-8')) diff --git a/tools/release22/tts.py b/tools/release22/tts.py index 5ad157d2c..acb5cfab4 100755 --- a/tools/release22/tts.py +++ b/tools/release22/tts.py @@ -37,7 +37,7 @@ def generate(str, filename): output = "output.mp3" command = 'gtts-cli -l %s -o %s "%s"' % (voice[:2], output, str) os.system(command.encode('utf-8')) - command = "sox %s -r 32000 %s" % (output, filename) + command = "sox %s -r 32000 %s tempo 1.2" % (output, filename) os.system(command.encode('utf-8')) command = "rm -f output.mp3" os.system(command.encode('utf-8'))