Robert Rozman
2004-Oct-06 08:59 UTC
[Asterisk-Users] Problem on getting wav file out of Festival-text2wave utility ?
Hi, I'm banging my head with Perl AGI script to produce wav file to be streamed with Festival's text2wave utility. I have two lines of code: ------------------------------------ system('echo "' . $text . '" | text2wave -scale 1.5 -F 8000 -o ' . $filename . ' - '); system('echo "' . $text . '" | text2wave -eval "(voice_cmu_us_slt_arctic_hts)" -scale 1.5 -F 8000 -o ' . $filename . ' - '); ------------------------------------ Above line works, but with default voice. Line below doesn't work anymore (it doesn't produce any output wav file) although same line from command line works. Any hint, opinion, I've lost any patience with this one so please help, Regards, Robert.
Arkadi Shishlov
2004-Oct-06 10:20 UTC
[Asterisk-Users] Problem on getting wav file out of Festival-text2wave utility ?
On Wed, Oct 06, 2004 at 05:59:39PM +0200, Robert Rozman wrote:> system('echo "' . $text . '" | text2wave -eval > "(voice_cmu_us_slt_arctic_hts)" -scale 1.5 -F 8000 -o ' . $filename . ' - > ');Put the system() argument on one line. arkadi.