summaryrefslogtreecommitdiffstats
path: root/modules/espeak
diff options
context:
space:
mode:
authortv <tv@also>2010-04-26 16:34:51 +0200
committertv <tv@also>2010-04-26 16:34:51 +0200
commit3bf6c7a90c6d9141d2a5701203ba2fabe41a5c68 (patch)
tree4d70b0e10f2b3cd782c8bc47710e2bab2e680859 /modules/espeak
parentdb8d3910efdaf735fa51f012fb48b52e23f25c4c (diff)
Added modules: espeak lang msg play wall zeit
Diffstat (limited to 'modules/espeak')
-rwxr-xr-xmodules/espeak17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/espeak b/modules/espeak
new file mode 100755
index 00000000..34c61e42
--- /dev/null
+++ b/modules/espeak
@@ -0,0 +1,17 @@
+#! /bin/sh
+case "$1" in
+ (--help) echo say something with espeak ;;
+ (*)
+ p="${noise_pitch-100}"
+ v="${noise_lang-de}"
+ k="${noise_capital-0}"
+ a="${noise_amplitude-100}"
+ g="${noise_gap-1}"
+ echo pitch: $p
+ echo lang: $v
+ echo capital: $k
+ echo amplitude: $a
+ echo gap: $g
+ #echo "espeak -p \"$pitch\" -v \"$lang\" \"$*\"" >&2
+ espeak -a $a -k $k -p $p -v $v -g $g "$*" &
+esac