From 9b725a9fad38ee593631b83e142be76c9f9430bb Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Wed, 20 Nov 2024 20:40:11 -0500 Subject: [PATCH] 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 --- docs/CREDITS | 1 + tools/builds.pm | 6 +++--- 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',