returns a list of available voices to use with the revSetSpeechVoice command.
# Metadata
Platforms: desktop, server OS: mac, windows Introduced: 2.0 Security:
# Syntax
revSpeechVoices([voiceGender])
# Params
- voiceGender : One of "male", "female", or "neuter". If you don't specify a voiceGender, all voices are returned.
# Examples
revSpeechVoices()
revSpeechVoices("female")
put revSpeechVoices("neuter") into button "Voices Menu"
# Description
Use the revSpeechVoices function to find out what voices can be used to speak text on the current system.
The revSpeechVoices function returns a list of voices installed on the current system. Each voice is either male, female, or neuter, and you can use the optional voiceGender parameter to request one of the genders.
>*Important:* The revSpeechVoices function is part of the > Speech library. To ensure that the function works in a > standalone application, you must include this > LiveCode custom library when you create your > standalone application. In the Inclusions pane of the > Standalone Application Settings window, make sure the "Speech" > library checkbox is checked.
# Tags
# See
- **keyword:** line - **control structure:** function - **command:** revSetSpeechVoice, revSpeak, revSetSpeechProvider - **library:** Speech library - **glossary:** parameter, Standalone Application Settings, command, return, standalone application, LiveCode custom library