Home | Trees | Indices | Help |
---|
|
object --+ | SpeakEasyController
Control logic behind the speakeasy GUI.
Available voices:
|
|||
ReplayDemon | |||
SoundReplayDemon | |||
SpeechReplayDemon |
|
|||
|
|||
|
|||
boolean |
|
||
bool |
|
||
|
|||
|
|||
|
|||
[string] |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
int |
|
||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Delete the PID pub file. Not crucial, but nice to let other processes know that SpeakEasy is no longer running. |
Initialize for playing sound and text-to-speech locally. OK to call multiple times. Initializes self.sound_file_names to a list of sound file names for use with SoundPlayer instance.
|
Try to initialize operation through ROS messages to a SpeakEasy ROS node. If that init fails, revert to local operation.
|
|
Determine all the available sound effect files. If this process operates stand-alone, the local '../../sounds' subdirectory is searched. Else, in a ROS environment, the available sound effect file names are obtained from the 'speech_capabilities_inquiry' service call.
|
Send message to SpeakEasy service to say text, with the given voice, using the given text-to-speech engine. </p> If the voice parameter is the Festival voice 'Male' it is a special case in that it refers to the Festival engine's "voice_kal_diphone". We convert this.
|
Handler for one of the recorder buttons pushed: Play Text, or Stop.
|
Given a file path to a button set, return the button set's number. We assume that the path is well formed, and all button sets are named buttonProgramnnn.xml. If malformed path, shows error msg on screen, and returns None.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Nov 26 18:08:31 2012 | http://epydoc.sourceforge.net |