diff options
author | tv <tv@nomic.retiolum> | 2013-09-02 17:32:32 +0200 |
---|---|---|
committer | tv <tv@nomic.retiolum> | 2013-09-02 17:32:32 +0200 |
commit | d502c59fdea2a84f291d5f414998aaaa58df9a25 (patch) | |
tree | 974d9107d32ab84cca6230460ce0e2cef5bd7ac6 /util/bin/naturalvoices3.sh | |
parent | 2c1456ddbe8812913eef1a19b7fe0188076b8b6d (diff) | |
parent | ff8a17e1fdf40ce8c7b6479f18f0476d442a8797 (diff) |
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'util/bin/naturalvoices3.sh')
-rwxr-xr-x | util/bin/naturalvoices3.sh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/util/bin/naturalvoices3.sh b/util/bin/naturalvoices3.sh deleted file mode 100755 index 6085e511..00000000 --- a/util/bin/naturalvoices3.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -text=$(echo $* | sed 's/ /+/g') -voice="klara" -base_url="http://192.20.225.36" - -TMPFILE=`mktemp` -trap "rm $TMPFILE" TERM INT EXIT - - wget $base_url$( curl -Ss -H 'Host:192.20.225.36' -H 'Origin:http://www2.research.att.com' -e "http://www2.research.att.com/~ttsweb/tts/demo.php" -A "Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0" -d "voice=$voice" -d "txt=$text" -d "speakButton=SPEAK" -H 'Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' $base_url/tts/cgi-bin/nph-nvttsdemo | grep HREF|sed 's/.*\(".*"\).*/\1/' |sed -e 's/"//g' ) -O $TMPFILE -aplay $TMPFILE |