Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/face.py
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2010-10-01 18:42:45 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2010-10-01 18:42:45 (GMT)
commit683877910d9194253dc6f46fe0021f038e92578b (patch)
treeda028c6adef3dd193c0599a980cb68a39c0b64eb /face.py
parenta95fbe84fe7e58b3c01cc3d6fd7fa0d5cc67d6a1 (diff)
Use the same default rate in espeak command mode like in gst mode #2182
Diffstat (limited to 'face.py')
-rw-r--r--face.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/face.py b/face.py
index a3b5d7b..fb991bb 100644
--- a/face.py
+++ b/face.py
@@ -44,8 +44,9 @@ FACE_PAD = 2
class Status:
def __init__(self):
self.voice = voice.defaultVoice()
- self.pitch = espeak.PITCH_DEFAULT
- self.rate = espeak.RATE_DEFAULT
+ self.pitch = espeak.PITCH_MAX / 2
+ self.rate = espeak.RATE_MAX / 2
+
self.eyes = [eye.Eye] * 2
self.mouth = mouth.Mouth