Promoted pypo to top level because it isnt 3rd party.
Removed the portage stuff since it is way outdated.
This commit is contained in:
parent
4300fd8d36
commit
51a1fde9ee
82 changed files with 0 additions and 6013 deletions
11
pypo/scripts/library/liquidtts
Executable file
11
pypo/scripts/library/liquidtts
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue