719
voiceResume()
Syntax
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.
Example
These statements resume the speech when the playhead moves to the next frame in the Score:
on exitFrame
voiceResume()
end exitFrame
See also
voiceSpeak()
,
voicePause()
,
voiceStop()
,
voiceGetRate()
,
voiceSetRate()
,
voiceGetPitch()
,
voiceSetPitch()
,
voiceGetVolume()
,
voiceSetVolume()
,
voiceState()
,
voiceWordPos()
voiceSet()
Syntax
voiceSet(
integer
)
Description
Command: Sets the current voice of the text-to-speech synthesis. The value specified must be an
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. If
successful, the command returns the new value that was set. Use
voiceCount()
to determine the
number of available voices.
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()
,
voiceGet()
voiceSetPitch()
Syntax
voiceSetPitch(
integer
)
Description
Command; sets the pitch for the current voice of the text-to-speech engine to the specified value.
The return value is the new pitch value that has been set. The valid range of values depends on the
operating system platform and text-to-speech software.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...