mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
voice: Add default mappings for Chinese-Simplified TTS
Change-Id: I89aaedf4843a4323af0f2a734e05ccd87b9b2530
This commit is contained in:
parent
19b85e51e0
commit
8ddd94f3fd
2 changed files with 15 additions and 0 deletions
|
@ -604,6 +604,18 @@ sub simbuilds {
|
|||
'enabled' => 1,
|
||||
},
|
||||
# Everything else in alphabetical order
|
||||
'chinese-simp' => { # Mandarin?
|
||||
'lang' => 'chinese-simp',
|
||||
'name' => '(Chinese Simplified)',
|
||||
'short' => 'zh_CN',
|
||||
'defengine' => 'espeak',
|
||||
'engines' => {
|
||||
'espeak' => '-vzh',
|
||||
'gtts' => '-l zh-CN',
|
||||
'piper' => 'zh_CN-huayan-medium.onnx',
|
||||
},
|
||||
'enabled' => 0,
|
||||
},
|
||||
'czech' => {
|
||||
'lang' => 'czech',
|
||||
'name' => 'Čeština (Czech)',
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue