MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 584

Director scripting reference
Table of Contents

Advertisement

voiceResume()
Usage
voiceResume()
Description
Command; resumes the speech output to the text-to-speech engine. The command returns a
value of 1 if it is successful, or 0 if it is not.
Parameters
None.
Example
These statements resume the speech when the playhead moves to the next frame in the Score:
-- Lingo syntax
on exitFrame
voiceResume()
end exitFrame
// JavaScript syntax
function exitFrame() {
voiceResume();
}
See also
voiceSpeak(), voicePause(), voiceStop(), voiceGetRate(), voiceSetRate(),
voiceGetPitch(), voiceSetPitch(), voiceGetVolume(), voiceSetVolume(),
voiceState(),
voiceSet()
Usage
voiceSet(integer)
Description
Command: Sets the current voice of the text-to-speech synthesis. If successful, the command
returns the new value that was set. Use
voices.
Parameters
Required. An integer that specifies the number of the text-to-speech voice to use.
integer
The valid range of values depends on the number of voices installed on the user's computer.
If an out-of-range value is specified, the voice is set to the nearest valid value.
Example
This statement sets the current text-to-speech voice to the third voice installed on the
user's computer:
voiceSet(3)
See also
voiceInitialize(), voiceCount(),
584
Chapter 12: Methods
voiceWordPos()
to determine the number of available
voiceCount()
voiceGet()

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents