summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@shack.fritz.box>2010-04-26 19:40:48 +0200
committerroot <root@shack.fritz.box>2010-04-26 19:40:48 +0200
commitb6398b0e2388e5980cda35de487a7a37f5f3e214 (patch)
treefa6bbee422efaa1fa49600038859be49aa827755
parent3bf6c7a90c6d9141d2a5701203ba2fabe41a5c68 (diff)
espeak: send text via stdin
-rwxr-xr-xmodules/espeak4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/espeak b/modules/espeak
index 34c61e42..cda70fc8 100755
--- a/modules/espeak
+++ b/modules/espeak
@@ -13,5 +13,7 @@ case "$1" in
echo amplitude: $a
echo gap: $g
#echo "espeak -p \"$pitch\" -v \"$lang\" \"$*\"" >&2
- espeak -a $a -k $k -p $p -v $v -g $g "$*" &
+ espeak -a $a -k $k -p $p -v $v -g $g<<EOF
+$*
+EOF
esac