revSetSpeechVolume

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
revSetSpeechVolume <volume>
Associationsspeech library
Summary

Sets the volume at which the revSpeak command speaks.

Introduced2.8.1
OSmac, windows
Platformsdesktop, server
Parameters
NameTypeDescription
volume

An integer between 0 and 100. The default volume is 100 on Windows and Mac OS X

Example
revSetSpeechVolume 0       -- Silent
revSetSpeechVolume 50      -- Half volume
revSetSpeechVolume 100     -- Full volume
Values
NameTypeDescription
The result

If successful, the revSetSpeechVolume command puts empty into the result. If an error ocurred, then the result will be set to an error string.

RelatedCommand: revSpeak, revSetSpeechProvider
Function: revGetSpeechVolume
Glossary: Standalone Application Settings, standalone application, command, LiveCode custom library
Library: Speech library
Description

Use the revSetSpeechVolume command to make speech louder or quieter.

The higher the volume, the louder LiveCode will speak. Setting the volume to 0 will cause LiveCode to speak silently, and setting the volume to 100 will result in the maximum possible speech loudness

Important: The revSetSpeechVolume command is part of the Speech library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "Speech" library checkbox is checked.