This function speaks some text and sends the output to the indicated output device. This function can be used to speak out other sound devices other than the normal sound card. For systems with multiple sound cards, this function can be used to select the specific card.
Parameter: device
Type: integer
Description: This is the device number of the output device. Device
0 is usually the computer speakers and the default sound card.
Parameter: text
Type: string
Description: This is the text you want to speak.
Parameter: wait
Type: boolean
Description: If set to TRUE, the function will not return until the system
finishes speaking. This
is useful if you are switching between speaking and listening. You
cannot listen and speak at the same time on some systems. If
this parameter is missing, the system will not wait.
None.