User Guide
voiceGet() 579
Parameters
None.
See also
Fileio
voiceCount()
Usage
voiceCount()
Description
Function: returns the number of installed voices available to the text-to-speech engine. The return
value is an integer. This number of voices can be used with
voiceSet() and voiceGet() to
specify a particular voice to be active.
Parameters
None.
Example
This statement sets the variable numVoices to the number of available text-to-speech voices:
numVoices = voiceCount()
See also
voiceInitialize(), voiceSet(), voiceGet()
voiceGet()
Usage
voiceGet()
Description
Function; returns a property list describing the current voice being used for text-to-speech. The
list contains the following properties:
• #name indicates the name of the installed voice.
• #age indicates the age of the voice. The value is a string. Possible values include “Teen”,
“Adult”, “Toddler”, and “Senior”, as well as numeric values such as “35”. Actual values depend
on the operating system, speech software version, and voices installed.
• #gender indicates whether the voice is male or female. The value is a string.
• #index indicates the position of the voice in the list of installed voices. You can refer to a voice
by its index when using the
voiceSet() command.
Use
voiceCount() to determine the number of available voices.
Parameters
None.