Error getting tags :
error 404Error getting tags :
error 404 revSetSpeechVoice | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
revSetSpeechVoice
Basics
Expander triangle
Type
Command
Syntax

revSetSpeechVoice voiceName

Introduced
2.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows
Security
None required
Summary
Specifies which voice to use with the revSpeak command.
Examples

revSetSpeechVoice "Victoria"
revSetSpeechVoice the storedVoice of this stack
revSetSpeechVoice any line of revSpeechVoices()

Additional Comments
Expander triangle

Use the revSetSpeechVoice command to change the way speech sounds.

Parameters:

The voiceName is the name of a voice installed on the system.

Comments:

To get a list of voices installed on the current system, use the revSpeechVoices function.

If the voiceName you specify is not installed, the revSetSpeechVoice command sets the voice to the default voice set by the system.

The voice specified by the revSetSpeechVoice command is used for all speeches following the command during the current session, but if the computer is already speaking when you execute the command, the new voice does not affect the current speech.

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

If the revSetSpeechVoice command is executed while a speech is being spoken, the current speech is halted.

Important! The revSetSpeechVoicecommand 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 section on the General screen of the Standalone Application Settings window, make sure "Speech" is selected in the list of script libraries.

User Comments
Expander triangle