Voice.SpeakSync() Method

Speaks the given text. Returns only after speech is complete. Use only when absolutely necessary. No error is generated if speech is not available.

Syntax

Voice.SpeakSync(Text)

The method syntax has these parts:

Part Description
Text (String) text to render into speech
Return (Nothing) Does not return a value.

Remarks

Renders English text to speech. Speak() returns asynchronously; it may return before the text has been completely spoken. SpeakSync() will not return until the text has been spoken. Use Speak() unless you absolutely must wait.

You can alter the resulting speech by embedding speech output tags. For example, you can simulate a fast-talking auctioneer by embedding \SPD=220\ to change the speaking rate to 220 words per minute.