forked from len0rd/rockbox
Support using 'rbspeak' to generate voice files.
(Full credit to Igor Poretsky) Change-Id: Ib9c5d2748cd7e0543b7fd110e83b4656089254b8
This commit is contained in:
parent
928557bb17
commit
e598ba13f5
2 changed files with 25 additions and 4 deletions
|
|
@ -184,6 +184,14 @@ sub voicestring {
|
|||
print("> $cmd\n") if $verbose;
|
||||
system($cmd);
|
||||
}
|
||||
elsif ($name eq 'rbspeak') {
|
||||
# xxx: $tts_engine_opts isn't used
|
||||
$cmd = "rbspeak $output";
|
||||
print("> $cmd\n") if $verbose;
|
||||
open(RBSPEAK, "| $cmd");
|
||||
print RBSPEAK $string . "\n";
|
||||
close(RBSPEAK);
|
||||
}
|
||||
}
|
||||
|
||||
# trim leading / trailing silence from the clip
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue