1
0
Fork 0
forked from len0rd/rockbox

voice: Further enhancements for multi-lingual voice generation

* configure: allow use of full tts engine names when making selection
 * voice.pl:  fixes for espeak-ng
 * build.pm:  Add a list of "standard" voices for tooling use

The latter will be used by the nightly builder infrastructure to
determine what voices to generate.

Change-Id: Iff55288f94a30fbe08d8345b730969b7264b5e0f
This commit is contained in:
Solomon Peachy 2020-07-11 10:05:40 -04:00
parent 185d2bbb6a
commit aad57ea1cc
3 changed files with 139 additions and 11 deletions

View file

@ -244,6 +244,11 @@ sub voicestring {
print("> $cmd\n") if $verbose;
system($cmd);
}
elsif ($name eq 'espeak-ng') {
$cmd = "espeak-ng $tts_engine_opts -w \"$output\" \"$string\"";
print("> $cmd\n") if $verbose;
system($cmd);
}
elsif ($name eq 'sapi') {
print({$$tts_object{"stdin"}} "SPEAK\t$output\t$string\r\n");
}