Re: [Soaplab2-dev] ACD outfile problem: how do you return a file?
Brought to you by:
marsenger
From: Tom C. <tc...@cs...> - 2008-08-29 16:42:18
|
Hi, [bringing up an old thread, original problem now solved...] Martin Senger wrote: > 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. Ah...is there any way I can get around this? I have an application that output nine different text files, all with hard-coded names! > 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). But won't this change every time? > 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. Thanks, Tom |