Log in

View Full Version : Resampling and downmixing from/to stdin/stdout


nonoitall
6th August 2007, 10:00
Are there any command line applications out there that can resample and/or downmix (stereo->mono) a plain old PCM wave file to another plain old PCM wave file through stdin and stdout? I've Googled up a storm, but the only thing I can find that's even remotely close is LAME, which outputs an MP3 file rather than PCM. I don't care if one program does resampling and another does downmixing, so long as I can pipe them together with other programs through the standard I/O streams. Thanks in advance!

ursamtl
6th August 2007, 13:03
You might check out the free software packages described in this thread (http://forum.doom9.org/showthread.php?t=82755&highlight=McGill).

nonoitall
6th August 2007, 23:56
Neat! The tools here (http://www-mmsp.ece.mcgill.ca/Documents/Software/index.html) look like exactly what I need. Thanks!

ursamtl
7th August 2007, 02:22
I'm glad it worked out for you. I've used these McGill programs before and they work very well.

tebasuna51
7th August 2007, 10:30
I'm glad it worked out for you. I've used these McGill programs before and they work very well.
To late but CopyAudio.exe can be used, instead WaveWizard, to encode directly to ac3 your stereo outputs:
CopyAudio -S "FL FR FC LF BL BR" FLFR.wav CLFE.wav SLSR.wav - | aften - out.ac3

nonoitall
7th August 2007, 11:42
That's what I'm using. :)