summaryrefslogtreecommitdiffstats
path: root/modules/espeak
blob: 34c61e422a7a19ccc6dc3a04a2c529b7106a1d99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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