Method sound.speak
Overload
Speaks text.
public static void speak(string text, bool async = false, string voice = null, int rate = 0, int volume = 100)
Parameters
text (string)
Text to speak. If |
async (bool)
Don't wait. Note: the sound ends when this process exits. |
voice (string)
A voice name from Control Panel > Speech > Text to speech. Can be partial, case-insensitive. Example: |
rate (int)
Speed adjustment, +- 10. |
volume (int)
Volume, 0-100. See also sound.volume. |