summaryrefslogtreecommitdiffstats
path: root/util/bin
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-09-03 01:57:41 +0200
committermakefu <github@syntax-fehler.de>2013-09-03 01:57:44 +0200
commit67ddf2c41e1285b2a1f11ff3eca8c3d9a7a377c5 (patch)
tree7ffa8e33542e63841d60055d7bd59f6b045d4089 /util/bin
parentb2094395a5895b596f3d7182d23da3a4ef1fb493 (diff)
allow to override voice in util/bin/naturalvoices.att
Diffstat (limited to 'util/bin')
-rwxr-xr-xutil/bin/naturalvoices.att2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/bin/naturalvoices.att b/util/bin/naturalvoices.att
index 4590d913..ea893fc0 100755
--- a/util/bin/naturalvoices.att
+++ b/util/bin/naturalvoices.att
@@ -6,7 +6,7 @@ cd $(dirname $(readlink -f $0))
: ${1?please provide \$1 as text}
text=$(echo $* | sed 's/ /+/g')
-voice="reiner"
+voice="${voice:-reiner}"
OUTFILE="`mktemp /tmp/voice.XXXXXXXX`"
trap "rm $OUTFILE" TERM INT EXIT