Name: revStopSpeech

Type: command

Syntax: revStopSpeech

Summary: Halts a speech that was started with the <revSpeak> <command>.

Introduced: 2.0

OS: mac,windows

Platforms: desktop,server,web

Example:
revStopSpeech

Example:
if userCanHaltSpeech then revStopSpeech

Description:
Use the <revStopSpeech> <command> to let the user interrupt a lengthy speech, or to stop a speech before it's finished. 

You can use the <revIsSpeaking> <function> to determine whether there's currently a speech in progress.

>*Important:*  The <revStopSpeech> <command> is part of the <Speech library>. To ensure that the <command> works in a <standalone application>, you must include this <Revolution custom library|custom library> when you create your <standalone application|standalone>. In the Inclusions section on the General screen of the <Standalone Application Settings> window, make sure "Speech" is selected in the list of script libraries.

References: function (control_st), revUnloadSpeech (command), revSpeak (command), revIsSpeaking (function), command (glossary), Standalone Application Settings (glossary), standalone application (glossary), Speech library (library), Revolution custom library (library)

Tags: multimedia
