1
0
Fork 0
forked from len0rd/rockbox

voice: Add support for voicing Latvian. Disabled by default.

Change-Id: Ieeec14bf259518232fb158a87abab7d4e58362c8
This commit is contained in:
Solomon Peachy 2025-03-22 23:03:46 -04:00
parent b5d2c1eb51
commit 21941a8165
2 changed files with 15 additions and 0 deletions

View file

@ -779,6 +779,18 @@ sub simbuilds {
},
'enabled' => 1,
},
'latviesu' => {
'lang' => 'latviesu',
'name' => 'Latviešu (Latvian)',
'short' => 'lv',
'defengine' => 'piper',
'engines' => {
'espeak' => '-vlv',
'gtts' => '-l lv',
'piper' => 'lv_LV-aivars-medium.onnx',
},
'enabled' => 0,
},
'nederlands' => {
'lang' => 'nederlands',
'name' => 'Nederlands (Dutch)',

View file

@ -103,6 +103,7 @@ my %gtts_lang_map = (
'italiano' => '-l it',
'japanese' => '-l ja',
'korean' => '-l ko',
'latviesu' => '-l lv',
'magyar' => '-l hu',
'nederlands' => '-l nl',
'norsk' => '-l no',
@ -130,6 +131,7 @@ my %espeak_lang_map = (
'italiano' => '-vit',
'japanese' => '-vja',
'korean' => '-vko',
'latviesu' => '-vlv',
'magyar' => '-vhu',
'nederlands' => '-vnl',
'norsk' => '-vno',
@ -157,6 +159,7 @@ my %piper_lang_map = (
'italiano' => 'it_IT-paola-medium.onnx',
# 'japanese' => '-vja',
# 'korean' => '-vko',
'latviesu' => 'lv_LV-aivars-medium.onnx',
'magyar' => 'hu_HU-anna-medium.onnx',
'nederlands' => 'nl_NL-mls-medium.onnx',
'norsk' => 'no_NO-talesyntese-medium.onnx',