Example #1
0
 def get_busy(self):
     return self.c.get_busy() or self._queue or (self.c.get_queue() != None) \
            or tts.is_speaking()
Example #2
0
def say(txt):
    tts.speak(unicode(txt))
    while tts.is_speaking():
        time.sleep(.01)
Example #3
0
 def update(self):
     if not self.c.get_busy() and not tts.is_speaking():
         if self._queue:
             self._play_next_msg_part()
Example #4
0
 def get_busy(self):
     return (self.c.get_busy() or self._queue
             or (self.c.get_queue() is not None) or tts.is_speaking())
Example #5
0
 def update(self):
     if not self.c.get_busy() and not tts.is_speaking():
         if self._queue:
             self._play_next_msg_part()
Example #6
0
 def get_busy(self):
     return self.c.get_busy() or self._queue or (self.c.get_queue() != None) \
            or tts.is_speaking()
Example #7
0
def say(txt):
    tts.speak(unicode(txt))
    while tts.is_speaking():
        time.sleep(.01)
Example #8
0
def say(txt):
    tts.speak(txt)
    while tts.is_speaking():
        time.sleep(0.01)