diff options
author | Jonas Häggqvist <rasher@rasher.dk> | 2007-08-13 12:21:16 +0000 |
---|---|---|
committer | Jonas Häggqvist <rasher@rasher.dk> | 2007-08-13 12:21:16 +0000 |
commit | 58537b43e61b23053371d92e9521e104d0908bca (patch) | |
tree | 7cd0a7c5577dfb9a37cf8b0a85dc8a7803536cc5 /tools/voicecommon.sh | |
parent | 414ee9fcc5908b4887134f75fd656ae1966a5c65 (diff) | |
download | rockbox-58537b43e61b23053371d92e9521e104d0908bca.tar.gz rockbox-58537b43e61b23053371d92e9521e104d0908bca.zip |
Voice related changes:
- It's now possible to select multiple languages to build
- Added encoder and TTS engine configuration to configure (per-language)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14309 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/voicecommon.sh')
-rw-r--r-- | tools/voicecommon.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/voicecommon.sh b/tools/voicecommon.sh index e18308ee4e..61e0d07bdd 100644 --- a/tools/voicecommon.sh +++ b/tools/voicecommon.sh | |||
@@ -72,7 +72,7 @@ FESTIVAL_HOST=localhost | |||
72 | FESTIVAL_PORT=1314 | 72 | FESTIVAL_PORT=1314 |
73 | # where to log the Festival client output | 73 | # where to log the Festival client output |
74 | FESTIVAL_LOG=/dev/null | 74 | FESTIVAL_LOG=/dev/null |
75 | # other options to the festival client | 75 | # other options to the festival server |
76 | FESTIVAL_OPTS="" | 76 | FESTIVAL_OPTS="" |
77 | 77 | ||
78 | ################## | 78 | ################## |
@@ -140,7 +140,7 @@ init_tts() { | |||
140 | exit 3 | 140 | exit 3 |
141 | fi | 141 | fi |
142 | FESTIVAL_HOST='localhost' | 142 | FESTIVAL_HOST='localhost' |
143 | $FESTIVAL_BIN --server 2>&1 > /dev/null & | 143 | $FESTIVAL_BIN $FESTIVAL_OPTS --server 2>&1 > /dev/null & |
144 | FESTIVAL_SERVER_PID=$! | 144 | FESTIVAL_SERVER_PID=$! |
145 | sleep 3 | 145 | sleep 3 |
146 | if [ `ps | grep -c "^\ *$FESTIVAL_SERVER_PID"` -ne 1 ]; then | 146 | if [ `ps | grep -c "^\ *$FESTIVAL_SERVER_PID"` -ne 1 ]; then |
@@ -271,7 +271,7 @@ voice() { | |||
271 | case $TTS_ENGINE in | 271 | case $TTS_ENGINE in |
272 | festival) | 272 | festival) |
273 | echo "Action: Generate $WAV_FILE with festival" | 273 | echo "Action: Generate $WAV_FILE with festival" |
274 | echo -E "$TO_SPEAK" | $FESTIVAL_CLIENT $FESTIVAL_OPTS \ | 274 | echo -E "$TO_SPEAK" | $FESTIVAL_CLIENT \ |
275 | --server $FESTIVAL_HOST \ | 275 | --server $FESTIVAL_HOST \ |
276 | --otype riff --ttw --output "$WAV_FILE" 2>"$WAV_FILE" | 276 | --otype riff --ttw --output "$WAV_FILE" 2>"$WAV_FILE" |
277 | ;; | 277 | ;; |