summaryrefslogtreecommitdiffstats
path: root/util/bin/naturalvoices2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/bin/naturalvoices2.sh')
-rwxr-xr-xutil/bin/naturalvoices2.sh6
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')
+