diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-02-21 12:49:31 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-02-21 12:49:31 (GMT) |
commit | f0b74984b013ddf730b7b947318d7dd5826346e4 (patch) | |
tree | f4ee02bbbf62d4183d84237f808a213f3ef7344b /Speak.activity/face.py | |
parent | 5d52643ce4d2341200e390b910f89d45ca98e822 (diff) |
Use espeak command when gst-plugins-espeak is not installed(Joshua Minor)
Diffstat (limited to 'Speak.activity/face.py')
-rw-r--r-- | Speak.activity/face.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Speak.activity/face.py b/Speak.activity/face.py index 0763142..2947ff1 100644 --- a/Speak.activity/face.py +++ b/Speak.activity/face.py @@ -47,7 +47,7 @@ class Status: def __init__(self): self.voice = voice.defaultVoice() self.pitch = PITCH_MAX/2 - self.rate = RATE_MAX/2 + self.rate = RATE_MAX/3 self.eyes = [eye.Eye] * 2 self.mouth = mouth.Mouth @@ -163,7 +163,7 @@ class View(gtk.EventBox): #self._mouth.add_events(gtk.gdk.POINTER_MOTION_MASK) def say(self, something): - self._audio.playfile(self.status, something) + self._audio.speak(self.status, something) def shut_up(self): self._audio.stop_sound_device() |