720
Example
This statement sets the pitch for the current voice to 75:
voiceSetPitch(75)
See also
voiceSpeak()
,
voicePause()
,
voiceResume()
,
voiceStop()
,
voiceGetRate()
,
voiceSetRate()
,
voiceGetPitch()
,
voiceGetVolume()
,
voiceSetVolume()
,
voiceState()
,
voiceWordPos()
voiceSetRate()
Syntax
voiceSetRate(
integer
)
Description
Command; sets the playback rate of the text-to-speech engine to the specified integer value. The
command returns the new value that has been set. The valid range of values depends on the operating
system platform. In general, values between -10 and 10 are appropriate for most text-to-speech
software. If an out-of-range value is specified, the rate will be set to the nearest valid value.
Example
This statement sets the playback rate of the text-to-speech engine to 7:
voiceSetRate(7)
See also
voiceSpeak()
,
voicePause()
,
voiceResume()
,
voiceStop()
,
voiceGetRate()
,
voiceGetPitch()
,
voiceSetPitch()
,
voiceGetVolume()
,
voiceSetVolume()
,
voiceState()
,
voiceWordPos()
voiceSetVolume()
Syntax
voiceSetVolume(
integer
)
Description
Command; sets the volume of the text-to-speech synthesis. The specified value must be an
integer. The range of valid values depends on the operating system platform. If successful, the
command returns the new value that was set. If an invalid value is specified, the volume is set to
the nearest valid value.
Example
This statement sets the volume of text-to-speech synthesis to 55:
voiceSetVolume(55)
See also
voiceSpeak()
,
voicePause()
,
voiceResume()
,
voiceStop()
,
voiceGetRate()
,
voiceSetRate()
,
voiceGetPitch()
,
voiceSetPitch()
,
voiceGetVolume()
,
voiceState()
,
voiceWordPos()
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...