slow sox on PPC when converting some files from wav to raw
Arnon, Asaph (Asaph <arnon <at> avaya.com>
2006-11-09 14:26:14 GMT
Hi
I am running sox on
PPC, using it to convert wav files to raw format. In order to accept different
wav as input files I am using the following flags:
sox source_file.wav
-U -r 8000 -c 1 target_file.raw. I think I need 8000 hrtz, and 1 channel, u-law
since in order it to play good with: "cat raw_file.raw >
/dev/audio")
The problem is that
for some wav files the conversion time on the PPC is too long (4 minuts for 1MB
file) even though I get good conversion I cannot wait that long. This is all
depends on the type of wav file. When I am not using these
flags (sox
source_file.wav target_file.raw) the conversion file is very short, BUT than the
raw file is not playable.
So, I have two questions:
1) Is there any way to speed up the conversion process,
but still make the output format to fit "cat raw_file.raw >
/dev/audio"?
2) Is there a way to check the wav file header with
sox, and so reject wav files that their conversion will take long time before i
try to convert them?
Thanks,
Asaph
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sox-users mailing list
Sox-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users