-
See Also
- $VoiceStyles
- SpeechSynthesize
- Speak
- SpokenString
- Audio
- SpeechRecognize
-
- Service Connections
- GoogleSpeech
- Related Guides
gives the list of available voices for speech synthesis.
VoiceStyleData[voice]
returns all properties for the specified voice.
VoiceStyleData[voice,prop]
returns the specified property prop for voice.
VoiceStyleData
gives the list of available voices for speech synthesis.
VoiceStyleData[voice]
returns all properties for the specified voice.
VoiceStyleData[voice,prop]
returns the specified property prop for voice.
Details and Options
- VoiceStyleData lists all available voices for speech synthesis and their corresponding properties, such as gender and language.
- Possible settings for voice include:
-
"name" an explicit voice name {"name1","name2",…} an explicit list of voice names All all available voices f voices that satisfy f - When a pure function f is used, voice properties can be accessed using #prop1, #prop2, …. A voice is returned if f returns True.
- Possible settings for prop include:
-
"Gender" gender of the speaker "Language" language of the speaker "LanguageCode" language code of the speaker "Name" name of the voice - VoiceStyleData takes a Method option to extract available voices for a given method.
- Possible method settings include:
-
Automatic local synthesizer (default) ![TemplateBox[{"ElevenLabs", paclet:ref/service/ElevenLabs}, StringTypeLink, BaseStyle -> {2ColumnTableMod}] TemplateBox[{"ElevenLabs", paclet:ref/service/ElevenLabs}, StringTypeLink, BaseStyle -> {2ColumnTableMod}]](Files/VoiceStyleData.en/1.png)
ElevenLabs synthesizer "GoogleSpeech" Google speech synthesizer "NeuralNetwork" synthesis using a local neural network "OperatingSystem" using the operating system (macOS and Windows only)
Examples
open all close allBasic Examples (2)
Scope (3)
Properties of multiple voices:
VoiceStyleData[{"AlanWBlack", "KevinLenzo"}]Show the result as a Dataset:
VoiceStyleData[{"AlanWBlack", "KevinLenzo"}]//DatasetUse a criterion to filter voices. Here is a list of available male voices:
VoiceStyleData[#Gender == "Male"&]//DatasetVoiceStyleData[#Gender == "Male" && #Language == "English"&]//DatasetRetrieve only specific properties:
VoiceStyleData[#Gender == "Male"&, {"Language", "Name"}]//DatasetOptions (4)
Method (4)
By default, locally available voices are listed:
VoiceStyleData[Method -> Automatic]//DatasetVoices that use local neural nets:
VoiceStyleData[Method -> "NeuralNetwork"]//DatasetVoiceStyleData[Method -> "GoogleSpeech"]//DatasetVoiceStyleData[Method -> "ElevenLabs"]//DatasetApplications (3)
Synthesize speech using a random voice:
SpeechSynthesize["Hello World!", RandomChoice[VoiceStyleData[]]]//NormalSynthesize speech using an English voice:
SpeechSynthesize["Hello World!", RandomChoice[VoiceStyleData[#Language == "English"&]]]//NormalChoose a voice when synthesizing speech through a service:
voice = RandomChoice[VoiceStyleData[Method -> "ElevenLabs"]]SpeechSynthesize["Hello World!", voice, Method -> "ElevenLabs"]See Also
$VoiceStyles SpeechSynthesize Speak SpokenString Audio SpeechRecognize
Service Connections: GoogleSpeech
Related Guides
Text
Wolfram Research (2019), VoiceStyleData, Wolfram Language function, https://reference.wolfram.com/language/ref/VoiceStyleData.html (updated 2024).
CMS
Wolfram Language. 2019. "VoiceStyleData." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2024. https://reference.wolfram.com/language/ref/VoiceStyleData.html.
APA
Wolfram Language. (2019). VoiceStyleData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/VoiceStyleData.html
BibTeX
@misc{reference.wolfram_2026_voicestyledata, author="Wolfram Research", title="{VoiceStyleData}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/VoiceStyleData.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_voicestyledata, organization={Wolfram Research}, title={VoiceStyleData}, year={2024}, url={https://reference.wolfram.com/language/ref/VoiceStyleData.html}, note=[Accessed: 13-June-2026]}