voice: Add Spanish (Mexican) to the nightly voice sets.

This uses the piper engine.

Peninsular Spanish sounds markedly different from Central/South American
Spanish, so it seems prudent to offer both.

...We'll see how the masses feel.

Change-Id: Idfd3edd92c2dde7f9288afd99f474e59984689c9
This commit is contained in:
Solomon Peachy 2024-11-20 20:40:11 -05:00
parent beb7c829da
commit 9b725a9fad
3 changed files with 7 additions and 3 deletions

View file

@ -729,6 +729,7 @@ Hoseok Seo
Paul Sauro
Dmitry Prozorov
Mustafa YILDIZ
Lianela Sky
The libmad team
The wavpack team

View file

@ -709,13 +709,13 @@ sub simbuilds {
'lang' => 'espanol',
'name' => 'Spanish (Mexican)',
'short' => 'es-mx',
'defengine' => 'espeak', ### Use gtts instead?
'defengine' => 'piper',
'engines' => {
'espeak' => '-ves -k 6',
'gtts' => '-l es -t mx',
# No piper voice yet.
'piper' => 'es_ES-claude-high.onnx',
},
'enabled' => 0,
'enabled' => 1,
},
'francais' => {
'lang' => 'francais',

View file

@ -97,6 +97,7 @@ my %gtts_lang_map = (
'eesti' => '-l et',
'english-us' => '-l en -t us',
'espanol' => '-l es',
# 'espanol' => '-l es -t mx',
'francais' => '-l fr',
'greek' => '-l el',
'italiano' => '-l it',
@ -122,6 +123,7 @@ my %espeak_lang_map = (
'eesti' => '-vet',
'english-us' => '-ven-us -k 5',
'espanol' => '-ves',
# 'espanol' => '-ves -k 6',
'francais' => '-vfr-fr',
'greek' => '-vel',
'italiano' => '-vit',
@ -148,6 +150,7 @@ my %piper_lang_map = (
# 'eesti' => '-vet',
'english-us' => 'en_US-lessac-high.onnx',
'espanol' => 'es_ES-sharvard-medium.onnx',
# 'espanol' => 'es_ES-claude-high.onnx',
'francais' => 'fr_FR-siwis-medium.onnx',
'greek' => 'el_GR-rapunzelina-low.onnx',
'italiano' => 'it_IT-paola-medium.onnx',