def volumeDown(self): #Override because returning the message (which causes speech) causes the backend to hang, not sure why... threading issue? self.updateMessage = ThreadedTTSBackend.volumeDown(self)
def isSpeaking(self): return ThreadedTTSBackend.isSpeaking(self) or None
def isSpeaking(self): return (self.process and self.process.poll() == None) or ThreadedTTSBackend.isSpeaking(self)
def __init__(self): util.LOG('OSXSay using subprocess method class') self.process = None ThreadedTTSBackend.__init__(self)