Programming Reference:TextToSpeech Class
The TextToSpeech class is a wrapper for synthetic speech audio output. TextToSpeech objects may be stored in STL containers.
For each property, there is a getter method carrying the plain property name. Writable properties have an additional setter method prefixed with "Set".
string Text (rw)
The text to be spoken. This text is provided to the underlying text-to-speech engine unchanged, and may contain control characters as defined by that engine.
For speech markup defined by the Microsoft TTS Engine, see http://msdn.microsoft.com/en-us/library/ms723638(VS.85).aspx.
float Volume (rw)
Playback volume in the range 0.0 to 1.0.
bool IsSpeaking (r)
True when text is currently spoken, false otherwise.
Default Constructor, Destructor
These provide the full set of methods required to use TextToSpeech as a data type in STL containers, such as std::vector<TextToSpeech>.
Stops speaking, and resets the speaking position to the beginning. This method does nothing when no speaking is performed.