-fixed liquidsoap not working when the liquidsoap global libraries were not installed
This commit is contained in:
parent
277095a538
commit
692ba3513b
23 changed files with 908 additions and 50 deletions
11
pypo/scripts/library/liquidtts.in
Normal file
11
pypo/scripts/library/liquidtts.in
Normal 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 | @TEXT2WAVE@ -f 44100 > $2.tmp.wav && @SOX@ 2> /dev/null > /dev/null
|
||||
return=$?
|
||||
@RM@ $2.tmp.wav
|
||||
@NORMALIZE@ $2 2> /dev/null > /dev/null
|
||||
exit $return
|
Loading…
Add table
Add a link
Reference in a new issue