revGetSpeechVolume

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
revGetSpeechVolume()
Associationsspeech library
Summary

Returns the current speech volume

Introduced2.8.1
OSmac, windows
Platformsdesktop, server
Example
put revGetSpeechVolume() into tVolume
Values
NameTypeDescription
return

The revGetSpeechVolume function returns a number between 0 and 100.

RelatedControl Structure: function
Command: revSetSpeechSpeed, revSetSpeechVolume
Glossary: Standalone Application Settings, standalone application, LiveCode custom library
Library: Speech library
Description

Use the revGetSpeechVolume function to find out what the current volume that LiveCode will speak at is.

The default volume is 100 on both Windows and Mac OS X.

Important: The revGetSpeechVolume function is part of the Speech library. To ensure that the function 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.