summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorunknown <root@telnet.shack>2010-12-28 21:10:35 +0100
committertv <root@telnet.shack>2010-12-28 21:10:35 +0100
commit5c95cc67e68451c7046b347cb085e2f8b1e8e863 (patch)
treed52769aab7e0684307c057a15bb3b0df166ed493
parent3f77df40b1d127e54bab735bbc14cd57a56b78ca (diff)
route espeak through paplay
-rwxr-xr-xmodules/espeak2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/espeak b/modules/espeak
index 1f5c901d..4aad90b9 100755
--- a/modules/espeak
+++ b/modules/espeak
@@ -18,7 +18,7 @@ case "$1" in
print_var amplitude $a
print_var gap $g
#echo "espeak -p \"$pitch\" -v \"$lang\" \"$*\"" >&2
- espeak -a $a -k $k -p $p -v $v -g $g<<EOF
+ (espeak --stdout -a $a -k $k -p $p -v $v -g $g | paplay)<<EOF
$*
EOF
esac