summaryrefslogtreecommitdiff
path: root/tools/voicecommon.sh
diff options
context:
space:
mode:
authorJonas Häggqvist <rasher@rasher.dk>2007-08-13 12:21:16 +0000
committerJonas Häggqvist <rasher@rasher.dk>2007-08-13 12:21:16 +0000
commit58537b43e61b23053371d92e9521e104d0908bca (patch)
tree7cd0a7c5577dfb9a37cf8b0a85dc8a7803536cc5 /tools/voicecommon.sh
parent414ee9fcc5908b4887134f75fd656ae1966a5c65 (diff)
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.sh6
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
FESTIVAL_PORT=1314
# where to log the Festival client output
FESTIVAL_LOG=/dev/null
-# other options to the festival client
+# other options to the festival server
FESTIVAL_OPTS=""
##################
@@ -140,7 +140,7 @@ init_tts() {
exit 3
fi
FESTIVAL_HOST='localhost'
- $FESTIVAL_BIN --server 2>&1 > /dev/null &
+ $FESTIVAL_BIN $FESTIVAL_OPTS --server 2>&1 > /dev/null &
FESTIVAL_SERVER_PID=$!
sleep 3
if [ `ps | grep -c "^\ *$FESTIVAL_SERVER_PID"` -ne 1 ]; then
@@ -271,7 +271,7 @@ voice() {
case $TTS_ENGINE in
festival)
echo "Action: Generate $WAV_FILE with festival"
- echo -E "$TO_SPEAK" | $FESTIVAL_CLIENT $FESTIVAL_OPTS \
+ echo -E "$TO_SPEAK" | $FESTIVAL_CLIENT \
--server $FESTIVAL_HOST \
--otype riff --ttw --output "$WAV_FILE" 2>"$WAV_FILE"
;;