revIsSpeaking

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
revIsSpeaking()
Associationsspeech library
Summary

Returns true or false, depending on whether a phrase is currently being spoken by the revIsSpeaking command.

Introduced2.0
OSmac, windows
Platformsdesktop, server
Example
revIsSpeaking()
wait until revIsSpeaking() is false
Values
NameTypeDescription
return

The revIsSpeaking function returns true or false.

RelatedControl Structure: function
Command: revStopSpeech, revSpeak
Glossary: Standalone Application Settings, command, return, standalone application, text to speech, LiveCode custom library
Library: Speech library
Description

Use the revIsSpeaking function to avoid interrupting a speech.

If you execute the revSpeak command while the computer is already speaking, the first speech is stopped and the second speech begins immediately.

Important: The revIsSpeaking 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.

Tagsmultimedia