diff options
Diffstat (limited to 'tools/voice.pl')
-rwxr-xr-x | tools/voice.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/voice.pl b/tools/voice.pl index 88f3ba4744..85ff6642f4 100755 --- a/tools/voice.pl +++ b/tools/voice.pl | |||
@@ -184,6 +184,11 @@ sub voicestring { | |||
184 | case "sapi5" { | 184 | case "sapi5" { |
185 | print({$$tts_object{"stdin"}} sprintf("SPEAK\t%s\t%s\r\n", $output, $string)); | 185 | print({$$tts_object{"stdin"}} sprintf("SPEAK\t%s\t%s\r\n", $output, $string)); |
186 | } | 186 | } |
187 | case "swift" { | ||
188 | $cmd = "swift $tts_engine_opts -o $output \"$string\""; | ||
189 | print("> $cmd\n") if $verbose; | ||
190 | system($cmd); | ||
191 | } | ||
187 | } | 192 | } |
188 | } | 193 | } |
189 | 194 | ||