blob: 4590d913333a2436e0dca38c2a2a5ff0ac2eafdf (
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 /tmp/voice.XXXXXXXX`"
trap "rm $OUTFILE" TERM INT EXIT
get_tts "$text"
play_file "$OUTFILE"
|