summaryrefslogtreecommitdiffstats
path: root/tools/voice.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/voice.pl')
-rwxr-xr-xtools/voice.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/voice.pl b/tools/voice.pl
index 05ced3a6d9..0b49ddff04 100755
--- a/tools/voice.pl
+++ b/tools/voice.pl
@@ -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");
}