| Description SUI_Say passes text to the Text-To-Speech synthesizer. The voice and rate will be those currently selected in the Speech Control Panel.
To stop all speech, pass an empty string to SUI_Say.
Note: You must first call SUI_InitializeTTS once prior to using SUI_Say.
After calling SUI_Say, control is returned immediately to 4D. Consecutive calls to SUI_Say will interrupt previous calls, so if you need to queue up phrases you should check the value of the function SUI_GetSpeechBusy in a loop, such as:
While (SUI_GetSpeechBusy=1) DELAY PROCESS (Current process ;6) `Wait for previous TTS to finish processing. End While
SUI_Say ("Would you like me to read it again?")
|