diff options
Diffstat (limited to 'espeak_cmd.py')
-rw-r--r-- | espeak_cmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/espeak_cmd.py b/espeak_cmd.py index cddb440..1f50bbf 100644 --- a/espeak_cmd.py +++ b/espeak_cmd.py @@ -30,7 +30,7 @@ class AudioGrabCmd(espeak.BaseAudioGrab): self.make_pipeline('filesrc name=file-source') # 175 is default value, min is 80 - rate = 80 + int(((175 - 80) * 2) * status.rate / RATE_MAX) + rate = 60 + int(((175 - 80) * 2) * status.rate / RATE_MAX) wavpath = "/tmp/speak.wav" subprocess.call(["espeak", "-w", wavpath, "-p", str(status.pitch), |