diff options
author | Rafael Ortiz <rafael@activitycentral.com> | 2011-06-17 18:31:13 (GMT) |
---|---|---|
committer | Rafael Ortiz <rafael@activitycentral.com> | 2011-06-17 18:31:13 (GMT) |
commit | 29a9f71aeb2ba2fd44064bdb7c31b04a4b3c6aa8 (patch) | |
tree | a551fbcef7d9908916d4ea9df557b468a0c258d8 /espeak_cmd.py | |
parent | d078187bbc1581075510dbd988a2ca8e4f37b428 (diff) |
minus rate for robot
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), |