Programming Reference:SpeechStimulus Class
The SpeechStimulus class combines the Stimulus Class interface with the TextToSpeech Class, resulting in a stimulus that uses a system-wide text-to-speech engine to render a given text. When a SpeechStimulus object is deallocated while a text is spoken, speech is not aborted. Rather, it continues to the end of the text.
string Text (rw)
Text to be rendered by the system-wide text-to-speech engine.
float Volume (rw)
A number between 0 and 1, representing the volume of TTS output.
Renders the text contained in the Text property using the system-wide text-to-speech engine.