1
0
Fork 0
forked from len0rd/rockbox

voice: Add default mappings for Chinese-Simplified TTS

Change-Id: I89aaedf4843a4323af0f2a734e05ccd87b9b2530
This commit is contained in:
Solomon Peachy 2024-07-18 09:58:16 -04:00
parent 19b85e51e0
commit 8ddd94f3fd
2 changed files with 15 additions and 0 deletions

View file

@ -87,6 +87,7 @@ my %festival_lang_map = (
my %gtts_lang_map = (
'english' => '-l en -t co.uk', # Always first, it's the golden master
'chinese-simp' => '-l zh-CN',
'czech' => '-l cs',
'dansk' => '-l da',
'deutsch' => '-l de',
@ -109,6 +110,7 @@ my %gtts_lang_map = (
my %espeak_lang_map = (
'english' => '-ven-gb -k 5', # Always first, it's the golden master
'chinese-simp' => '-vzh',
'czech' => '-vcs',
'dansk' => '-vda',
'deutsch' => '-vde',
@ -132,6 +134,7 @@ my %espeak_lang_map = (
my %piper_lang_map = (
'english' => 'en_GB-cori-high.onnx', # Always first, it's the golden master
'chinese-simp' => 'zh_CN-huayan-medium.onnx',
'czech' => 'cs_CZ-jirka-medium.onnx',
'dansk' => 'da_DK-talesyntese-medium.onnx',
'deutsch' => 'de_DE-thorsten-high.onnx',