diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-11-20 20:40:11 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-11-20 20:46:09 -0500 |
commit | 9b725a9fad38ee593631b83e142be76c9f9430bb (patch) | |
tree | d452587c7958c92a3bde90c444dd15feb296bebf | |
parent | beb7c829da33e2b5a566028adefbf9cc4c457cfa (diff) | |
download | rockbox-9b725a9fad.tar.gz rockbox-9b725a9fad.zip |
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
-rw-r--r-- | docs/CREDITS | 1 | ||||
-rw-r--r-- | tools/builds.pm | 6 | ||||
-rwxr-xr-x | tools/voice.pl | 3 |
3 files changed, 7 insertions, 3 deletions
diff --git a/docs/CREDITS b/docs/CREDITS index e98e069aad..eb6aac4502 100644 --- a/docs/CREDITS +++ b/docs/CREDITS @@ -729,6 +729,7 @@ Hoseok Seo Paul Sauro Dmitry Prozorov Mustafa YILDIZ +Lianela Sky The libmad team The wavpack team diff --git a/tools/builds.pm b/tools/builds.pm index b1e0aa46d1..e63665880a 100644 --- a/tools/builds.pm +++ b/tools/builds.pm @@ -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', diff --git a/tools/voice.pl b/tools/voice.pl index 94abcbfbcb..867f3a84e3 100755 --- a/tools/voice.pl +++ b/tools/voice.pl @@ -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', |