diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-07-10 15:32:18 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-07-10 15:32:18 (GMT) |
commit | 6814e865787cd1daad3006070f9de4af93cc7d56 (patch) | |
tree | d5405158ba85d4ee56938e2d5cbe31c4dd3c0f80 /Speak.activity/face.py | |
parent | 0255a5db9d532cd0c4daceb903c9b6c1d51db072 (diff) |
Separate espeak command ang gst-espeak code
Diffstat (limited to 'Speak.activity/face.py')
-rw-r--r-- | Speak.activity/face.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Speak.activity/face.py b/Speak.activity/face.py index ffb88c3..ab63412 100644 --- a/Speak.activity/face.py +++ b/Speak.activity/face.py @@ -29,7 +29,7 @@ from gettext import gettext as _ import sugar.graphics.style as style -import audio +import espeak import eye import glasses import mouth @@ -44,8 +44,8 @@ FACE_PAD = 2 class Status: def __init__(self): self.voice = voice.DEFAULT - self.pitch = audio.PITCH_DEFAULT - self.rate = audio.RATE_DEFAULT + self.pitch = espeak.PITCH_DEFAULT + self.rate = espeak.RATE_DEFAULT self.eyes = [eye.Eye] * 2 self.mouth = mouth.Mouth @@ -99,13 +99,13 @@ class View(gtk.EventBox): self.connect('size-allocate', self._size_allocate_cb) - self._audio = audio.AudioGrab() + self._audio = espeak.AudioGrab() # make an empty box for some eyes self._eyes = None self._eyebox = gtk.HBox() self._eyebox.show() - + # make an empty box to put the mouth in self._mouth = None self._mouthbox = gtk.HBox() |