
voiceSetRate()
585
voiceSetPitch()
Usage
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.
Parameters
integer
Required. An integer that specifies the pitch for the text-to-speech voice. The valid range
of values depends on the operating system platform and text-to-speech software.
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()
Usage
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.
Parameters
integer
Required. An integer that specifies the playback rate that the text-to-speech engine uses.
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()
Содержание DIRECTOR MX 2004-DIRECTOR SCRIPTING
Страница 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Страница 48: ...48 Chapter 2 Director Scripting Essentials...
Страница 100: ...100 Chapter 4 Debugging Scripts in Director...
Страница 118: ...118 Chapter 5 Director Core Objects...
Страница 594: ...594 Chapter 12 Methods...
Страница 684: ...684 Chapter 14 Properties See also DVD...
Страница 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Страница 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Страница 889: ...netPresent 889 _player alert Sorry the Network Support Xtras could not be found See also Player...
Страница 1102: ...1102 Chapter 14 Properties...