diff options
author | Jonas Häggqvist <rasher@rasher.dk> | 2009-03-02 21:36:48 +0000 |
---|---|---|
committer | Jonas Häggqvist <rasher@rasher.dk> | 2009-03-02 21:36:48 +0000 |
commit | 839bcdf46c2a6a269931cc9d3cc39cf45cc21a3b (patch) | |
tree | d538211ab4d1dd82c5eefe29a6a8dabb147ff149 /tools/voice.pl | |
parent | 22b925495a130325538812807f7b75d40f9ee5f5 (diff) | |
download | rockbox-839bcdf46c2a6a269931cc9d3cc39cf45cc21a3b.tar.gz rockbox-839bcdf46c2a6a269931cc9d3cc39cf45cc21a3b.zip |
Ask which voice to use for Festival.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20181 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/voice.pl')
-rwxr-xr-x | tools/voice.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/voice.pl b/tools/voice.pl index ac7a1b13cd..21c9ab913c 100755 --- a/tools/voice.pl +++ b/tools/voice.pl | |||
@@ -245,6 +245,10 @@ sub voicestring { | |||
245 | # festival_client lies to us, so we have to do awful soul-eating | 245 | # festival_client lies to us, so we have to do awful soul-eating |
246 | # work with IPC::open3() | 246 | # work with IPC::open3() |
247 | $cmd = "festival_client --server localhost --otype riff --ttw --output \"$output\""; | 247 | $cmd = "festival_client --server localhost --otype riff --ttw --output \"$output\""; |
248 | # Use festival-prolog.scm if it's there (created by user of tools/configure) | ||
249 | if (-f "festival-prolog.scm") { | ||
250 | $cmd .= " --prolog festival-prolog.scm"; | ||
251 | } | ||
248 | print("> $cmd\n") if $verbose; | 252 | print("> $cmd\n") if $verbose; |
249 | # Open command, and filehandles for STDIN, STDOUT, STDERR | 253 | # Open command, and filehandles for STDIN, STDOUT, STDERR |
250 | my $pid = open3(*CMD_IN, *CMD_OUT, *CMD_ERR, $cmd); | 254 | my $pid = open3(*CMD_IN, *CMD_OUT, *CMD_ERR, $cmd); |