
721
voiceSpeak()
Syntax
voiceSpeak("
string
")
Description
Command; causes the specified string to be spoken by the text-to-speech engine. When this
command is used, any speech currently in progress is interrupted by the new string.
Example
This statement causes the text-to-speech engine to speak the string “Welcome to Shockwave”:
voiceSpeak("Welcome to Shockwave")
See also
voiceSpeak()
,
voicePause()
,
voiceResume()
,
voiceStop()
,
voiceGetRate()
,
voiceSetRate()
,
voiceGetPitch()
,
voiceSetPitch()
,
voiceGetVolume()
,
voiceSetVolume()
,
voiceState()
,
voiceWordPos()
voiceState()
Syntax
voiceState()
Description
Function; returns the current status of the voice as a symbol. The possible return values are
#playing
,
#paused
, and
#stopped
.
Example
These statements check whether the text-to-speech engine is actively speaking and set the voice to
1 if it is not:
if voiceState() <> #playing then
voiceSet(1)
end if
See also
voiceSpeak()
,
voicePause()
,
voiceResume()
,
voiceStop()
,
voiceGetRate()
,
voiceSetRate()
,
voiceGetPitch()
,
voiceSetPitch()
,
voiceGetVolume()
,
voiceSetVolume()
,
voiceWordPos()
,
voiceSpeak()
voiceStop()
Syntax
voiceStop()
Description
Command; stops the speech output to the text-to-speech engine and empties the text-to-speech
buffer. The command returns a value of 1 if it is successful, or 0 if it is not.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...