diff options
author | root <root@monitoring.shack> | 2012-09-13 23:39:58 +0000 |
---|---|---|
committer | root <root@monitoring.shack> | 2012-09-13 23:39:58 +0000 |
commit | db849a18e1659ff28433384d2cdca2989a6d5df0 (patch) | |
tree | d600fb3f3e5f0a54b6254c85ee8a3b836ef3d90d /util/bin/naturalvoices2.sh | |
parent | d5d39fc3d56b021b642ee6e1d5625524ebbc4d99 (diff) | |
parent | 88d4bdc29eb9ce5f62099f2be1488ae927aa09d5 (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'util/bin/naturalvoices2.sh')
-rwxr-xr-x | util/bin/naturalvoices2.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/util/bin/naturalvoices2.sh b/util/bin/naturalvoices2.sh new file mode 100755 index 00000000..4d8015aa --- /dev/null +++ b/util/bin/naturalvoices2.sh @@ -0,0 +1,6 @@ +text=$(echo $* | sed 's/ /+/g') +voice="klara" +base_url="http://192.20.225.36" + +mplayer $base_url$( curl -Ss -A "Mozilla" -d "voice=$voice" -d "txt=$text" -d "speakButton=SPEAK" $base_url/tts/cgi-bin/nph-nvdemo |grep HREF|sed 's/.*\(".*"\).*/\1/' |sed -e 's/"//g') + |