downmix wave file from stereo to mono

Peder Blom dion at bredband.net
Thu Mar 18 01:56:02 PST 2004


On Thu, 18 Mar 2004 16:45:49 +0800
"Zhang Weiwu" <weiwuzhang at hotmail.com> wrote:

> Today I got a simple job to convert a 600MB stereo .wav file to mono
> .wav file. Very simple task.
> 
> First I read the lame(1) manual carefully, and decide it cannot help.
> I tried to install several sound editor, glame tried to pull down the
> gtk1 library and depended packages, so stopped it. audacity takes too
> long time to compile (still doing now). I tried sweep, and it hung my
> machine; it seems trying to load the whole wave file into memory. I
> find xwava compiles correctly, runs okay, but it can do downmix "only
> when the file fits memory". I also tried several other ports I don't
> remember now. Now I worked the whole afternoon without any progress.
> 
> I think there must be some handy tools can do this. On audio port
> directory I tried
> make search key=mono
> make search key=downmix
> Both returned nothing.
> 
> So what do you suggest me to use?

ports/audio/sox should be able to do what you want.



More information about the freebsd-questions mailing list