revSetSpeechSpeed

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
revSetSpeechSpeed <wordsPerMinute>
Associationsspeech library
Summary

Sets the speed at which the revSpeak command speaks.

Introduced2.0
OSmac, windows
Platformsdesktop, server
Parameters
NameTypeDescription
wordsPerMinute

An integer between 1 and 300.

Example
revSetSpeechSpeed 30
revSetSpeechSpeed field "WPM"
Values
NameTypeDescription
The result

If text to speech is not available on the current system, the revSetSpeechSpeed command sets the result function to an error message.

RelatedGlossary: Standalone Application Settings, command, standalone application, execute, text to speech, LiveCode custom library
Command: revSetSpeechPitch, revSetSpeechVoice, revSpeak, revSetSpeechProvider
Function: revGetSpeechVolume, result
Library: Speech library
Control Structure: function
Description

Use the revSetSpeechSpeed command to speed up or slow down speech.

The greater the wordsPerMinute, the faster the speech. (A normal speech rate for English is approximately 150 words per minute.)

The speed specified by the revSetSpeechSpeed command is used for all speeches following the command during the current session. If the computer is already speaking when you execute the command, the new speed affects the current speech.

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

Tagsmultimedia