-reorganized/cleaned up python_apps/pypo directory.

This commit is contained in:
martin 2011-06-14 14:37:09 -04:00
parent f66305e3d3
commit 9cfec2c8ef
42 changed files with 14 additions and 338 deletions

View file

@ -0,0 +1,11 @@
#!/bin/sh
# This script is called from liquidsoap for generating a file
# for "say:voice/text" URIs.
# Usage: liquidtts text output_file voice
echo $1 | /usr/bin/text2wave -f 44100 > $2.tmp.wav && /usr/bin/sox $2.tmp.wav -t wav -c 2 -r 44100 $2 2> /dev/null > /dev/null
return=$?
/bin/rm $2.tmp.wav
false $2 2> /dev/null > /dev/null
exit $return