Commit 2f365266 authored by nextime's avatar nextime

Added text2audio script

parent 52891c3c
......@@ -78,6 +78,8 @@ for j in $JS
echo "already minified..."
cat $j >> js/combined.min.js
fi
echo -n 'SIZE: '
du -chs js/combined.min.js
done
#!/bin/bash
phelp()
{
echo "USAGE: $0 <filename> <it|en> <\"string of text to be converted to audio\">"
exit 0
}
if [[ "$#" < 3 ]] ; then
phelp
fi
if [ "$2" != "en" ] && [ "$2" != "it" ] ; then
phelp
fi
python `dirname $0`/../domotika/clouds/google/tts.py $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment