blob: a2fe457ce7b976ee1597a767d80e685b6397214f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
cd $(dirname $(readlink -f $0))
. ../lib/naturalvoices/att.sh
: ${1?please provide \$1 as text}
text=$(echo $* | sed 's/ /+/g')
voice="reiner"
OUTFILE=`mktemp`
trap "rm $OUTFILE" TERM INT EXIT
get_tts "$text"
play_file "$OUTFILE"
|