The speechvolume statement changes the default speech volume.
This statement has one parameter:
volume – loudness level for speech synthesis, from 0 (muted) to 1.0 (full volume).
This statement changes the volume level used for speech synthesis (this volume can be overriden by the speak statement. This example sets the volume to half volume.
To find out the current volume, use the info(“speechvolume”) function. This example switches to a whisper, then switches back to whatever volume was being used before.
local wasVolume wasVolume = info("speechvolume") speechvolume 0.2 ... ... speak really, really quietly ... speechvolume wasVolume ... ... speak at original volume ...
|10.0||New||New in this version.|