diff options
| author | makefu <github@syntax-fehler.de> | 2013-12-09 22:04:23 +0100 |
|---|---|---|
| committer | makefu <github@syntax-fehler.de> | 2013-12-09 22:04:23 +0100 |
| commit | 6755676db22c82806763f19e7654c2f7c03279c2 (patch) | |
| tree | 8317c4c9d67b776681e3005a91bd0548d0e7d8db /noise/modules/espeak | |
| parent | 1a49b2e844a733812be1de8fc76af1a4c2ec5f0e (diff) | |
| parent | f4f5b3b7aff2ac45ee035f54d6e8899ff963d133 (diff) | |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'noise/modules/espeak')
| -rwxr-xr-x | noise/modules/espeak | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/noise/modules/espeak b/noise/modules/espeak deleted file mode 100755 index 815d9d99..00000000 --- a/noise/modules/espeak +++ /dev/null @@ -1,34 +0,0 @@ -#! /bin/sh - -print_var() { - echo "[35;4m$1[;35m = [32m$2[m" -} - -speak() { - p="${noise_pitch-100}" - v="${noise_lang-de}" - k="${noise_capital-0}" - a="${noise_amplitude-600}" - g="${noise_gap-1}" - if test "$debug" = true; then - print_var pitch $p - print_var lang $v - print_var capital $k - print_var amplitude $a - print_var gap $g - fi - if test "$verbose" = true; then - echo "espeak: $@" - fi - #echo "[31mespeak -p \"$pitch\" -v \"$lang\" \"$*\"[m" >&2 - (espeak --stdout -a $a -k $k -p $p -v $v -g $g | aplay)<<EOF -$* -EOF -} - -case "$1" in - (--help) echo say something with espeak ;; - (-d|--debug) shift; debug=true speak "$@";; - (-v|--verbose) shift; verbose=true speak "$@";; - (*) speak "$@";; -esac |
