karen.speaker.Speaker
Speaker device to convert any text to speech send to the audio output device.
__init__(self, callback=None)
special
Speaker Initialization
Parameters: |
|
---|
say(self, text)
Sends text to the festival executable to be translated and sent to the audio device.
Parameters: |
|
---|
Returns: |
|
---|
start(self, useThreads=True)
Starts the speaker. Function provided for compatibility as speaker does not require a daemon.
Parameters: |
|
---|
Returns: |
|
---|
stop(self)
Stops the speaker. Function provided for compatibility as speaker does not require a daemon.
Returns: |
|
---|
wait(self, seconds=0)
Waits for any active speakders to complete before closing. Provided for compatibility as speaker does not requrie a daemon.
Parameters: |
|
---|
Returns: |
|
---|