summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-04-26 07:34:31 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-05-18 10:45:36 -0400
commit27cb1abcecd7b4a5093545df90999bc49483f577 (patch)
tree5aedefa1c3c17fafb87f1ffb14b2c93af8b070b1
parent76de880ee0e7fa84b0fc0b7d75237e8f0618b7ee (diff)
downloadrockbox-27cb1abcec.tar.gz
rockbox-27cb1abcec.zip
builds: Add disabled voice builds for Spanish, Estonian, and Czech
Including default voice selections Note that piper does not have an Estonian voice option yet. Change-Id: Ie3b9edcae222e70790eb01d38a13e2e69df8e7df
-rw-r--r--tools/builds.pm46
-rwxr-xr-xtools/voice.pl5
2 files changed, 50 insertions, 1 deletions
diff --git a/tools/builds.pm b/tools/builds.pm
index 47fa7d2aef..dea04c98fc 100644
--- a/tools/builds.pm
+++ b/tools/builds.pm
@@ -545,6 +545,17 @@ sub allbuilds {
'enabled' => 1,
},
# Everything else in alphabetical order
+ 'czech' => {
+ 'lang' => 'czech',
+ 'name' => 'Čeština (Czech)',
+ 'short' => 'cs',
+ 'defengine' => 'espeak',
+ 'engines' => {
+ 'espeak' => '-vcs',
+ 'gtts' => '-l cs',
+ },
+ 'enabled' => 0,
+ },
'dansk' => {
'lang' => 'dansk',
'name' => 'Dansk (Danish)',
@@ -567,6 +578,17 @@ sub allbuilds {
},
'enabled' => 1,
},
+ 'eesti' => {
+ 'lang' => 'eesti',
+ 'name' => 'Eesti (Estonian)',
+ 'short' => 'et',
+ 'defengine' => 'espeak',
+ 'engines' => {
+ 'espeak' => '-vet',
+ 'gtts' => '-l et',
+ },
+ 'enabled' => 0,
+ },
'english-us' => {
'lang' => 'english-us',
'name' => 'American English',
@@ -579,6 +601,30 @@ sub allbuilds {
},
'enabled' => 1,
},
+ 'espanol' => {
+ 'lang' => 'espanol',
+ 'name' => 'Spanish (Peninsular)',
+ 'short' => 'es-es',
+ 'defengine' => 'espeak',
+ 'engines' => {
+ 'festival' => '--language spanish',
+ 'espeak' => '-ves -k 5',
+ 'gtts' => '-l es',
+ },
+ 'enabled' => 0,
+ },
+ 'espanol-mx' => {
+ 'lang' => 'espanol',
+ 'name' => 'Spanish (Mexican)',
+ 'short' => 'es-mx',
+ 'defengine' => 'espeak',
+ 'engines' => {
+ 'festival' => '--language spanish',
+ 'espeak' => '-ves -k 6',
+ 'gtts' => '-l es -t mx',
+ },
+ 'enabled' => 0,
+ },
'francais' => {
'lang' => 'francais',
'name' => 'Français (French)',
diff --git a/tools/voice.pl b/tools/voice.pl
index bbe82a086b..763b34f357 100755
--- a/tools/voice.pl
+++ b/tools/voice.pl
@@ -90,6 +90,7 @@ my %gtts_lang_map = (
'czech' => '-l cs',
'dansk' => '-l da',
'deutsch' => '-l de',
+ 'eesti' => '-l et',
'english-us' => '-l en -t us',
'espanol' => '-l es',
'francais' => '-l fr',
@@ -111,6 +112,7 @@ my %espeak_lang_map = (
'czech' => '-vcs',
'dansk' => '-vda',
'deutsch' => '-vde',
+ 'eesti' => '-vet',
'english-us' => '-ven-us -k 5',
'espanol' => '-ves',
'francais' => '-vfr-fr',
@@ -133,11 +135,12 @@ my %piper_lang_map = (
'czech' => 'cs_CZ-jirka-medium.onnx',
'dansk' => 'da_DK-talesyntese-medium.onnx',
'deutsch' => 'de_DE-thorsten-high.onnx',
+# 'eesti' => '-vet',
'english-us' => 'en_US-lessac-high.onnx',
'espanol' => 'es_ES-sharvard-medium.onnx',
'francais' => 'fr_FR-siwis-medium.onnx',
'greek' => 'el_GR-rapunzelina-low.onnx',
-# 'magyar' => '-vhu',
+ 'magyar' => 'hu_HU-anna-medium.onnx',
'italiano' => 'it_IT-riccardo-x_low.onnx',
# 'japanese' => '-vja',
'nederlands' => 'nl_NL-mls-medium.onnx',