Message Boards Message Boards

VoiceStyleData[] provides incomplete output

Posted 1 month ago

The issue is the following and has stumped me for a good half day now: In documentation, it is clearly stated that there should be 52 entries for VoiceStyleData[], ranging a bunch of languages. However 3 different machines I tried, with different licences, I am consistently getting only 8 and only in English.

Reference: https://reference.wolframcloud.com/language/ref/VoiceStyleData.html
My output:
My whole output

Any ideas how to particularly install the German voices would be greatly appreciated. Thank you in advance.

POSTED BY: Nikola Hajdin
7 Replies
Posted 1 month ago

When I run

VoiceStyleData[]

I get 162 items. We need to know exactly what expression you evaluated.

POSTED BY: Eric Rimbey
Posted 1 month ago

This is exactly the expression I evaluated on a newly rebooted machine, the only difference is I told it to display as a table using the //Dataset function. No previous lines are executed. My version is 14.1.0.0, Windows version. Nothing else was modified from a "normal" install.

POSTED BY: Nikola Hajdin
Posted 1 month ago

To me (14.2 on Windows) it looks like VoiceStyleData is just a simple collection of seven named English speakers. Try evaluating the examples in the documentation, without calling ElevenLabs or GoogleSpeech.

Eric, how did you get 162 items?

POSTED BY: Hans Milton

In Windows 10 or 11 go to Settings and search for Voice. Really looking for the Speech settings.

enter image description here

Choose "+ Add voices" from "Manage voices" Load the German (Germany) voice package

After loading voice files or files, and from a fresh Mathematica kernel run (not install)

VoiceStyleData[] // Dataset

You should get at least for German (Germany)

Female German Hedda

added to list

The default for VoiceStyleData[] is Automatic which is what your system supports

POSTED BY: Hans Michel
Posted 1 month ago

I just evaluated

VoiceStyleData[]

FWIW, I'm running 14.2.0 for Mac OS X ARM (64-bit).

POSTED BY: Eric Rimbey
Posted 1 month ago

Thanks Hans! This worked and I got Hedda to speak! However, I cannot imagine that all 52 languages from the documentation need to be installed this way, including other voices for German itself. Knowing Mathematica, there has to be a better way.

POSTED BY: Nikola Hajdin
POSTED BY: Hans Michel
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract