Re: [Soaplab2-dev] ACD outfile problem: how do you return a file?
Brought to you by:
marsenger
From: Martin S. <mar...@gm...> - 2008-07-10 06:30:55
|
Hi, It uses a -dumpAudio flag to output to a file No, I am afraid it does not. The dumpAudio is a string, not an outout file. Soaplab has no idea that the underlying application uses this parameter as an output file - it just takes its value (e.g. the string 'output.wav' literally as a command-lien option but it does not do anything else with it. The only output file the Soaplab sees is the one defined in the 'output' paremeter (and Soaplab give it its own name). If your applicatation has a hard-coded name for the output file, you are out of luck, at least now. You have to wrap you script into few lines that can map the hard-coded file name into the one given by Soaplab (in your exanple, it was: /home/tc/apache-tomcat-6.0.16/temp/_R_/SANDBOX/[text_to_speech.freetts]_4ca7ea84.11b07436c4e._7ffe/o_output). I think that all your observed problems have the same cause: your application uses the -dumpAudio parameter for the output file, but Soaplab consideres the -output parameter as the one for the output. Cheers, Martin PS. Sorry if I do not reply for your other emails soon - but I will be for next about ten days on my holiday, and I may not be always available on-line. M. -- Martin Senger email: mar...@gm...,m.s...@cg... skype: martinsenger |