VoiceStyleData

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
    Allall available voices
    fvoices 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
    "Name"name of the voice
  • VoiceStyleData takes a Method option to extract available voices for a given method.
  • Possible method settings include:
  • Automaticlocal synthesizer (default)
    "ElevenLabs"ElevenLabs synthesizer
    "GoogleSpeech"Google synthesizer

Examples

open allclose all

Basic Examples  (2)

List of available voices:

Properties of a given voice:

Scope  (2)

Properties of multiple voices:

Show the result as a Dataset:

Use a criterion to filter voices. Here is a list of available male voices:

List of English male voices:

Options  (3)

Method  (3)

By default, locally available voices are listed:

GoogleSpeech voices:

ElevenLabs voices:

Applications  (3)

Synthesize speech using a random voice:

Synthesize speech using an English voice:

Choose a voice when synthesizing speech through a service:

Wolfram Research (2019), VoiceStyleData, Wolfram Language function, https://reference.wolfram.com/language/ref/VoiceStyleData.html (updated 2024).

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_2024_voicestyledata, author="Wolfram Research", title="{VoiceStyleData}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/VoiceStyleData.html}", note=[Accessed: 05-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_voicestyledata, organization={Wolfram Research}, title={VoiceStyleData}, year={2024}, url={https://reference.wolfram.com/language/ref/VoiceStyleData.html}, note=[Accessed: 05-November-2024 ]}