[TriLUG] Re: mixing 2 mono wavs to 1 stereo

Aaron Schrab aaron at schrab.com
Fri Oct 27 10:33:58 EDT 2006


At 09:43 -0400 27 Oct 2006, Brian Henning <brian at strutmasters.com> wrote:
> Thanks for the suggestion, but unfortunately that doesn't achieve the 
> effect I'm looking for.  The command you suggest results in a stereo 
> combination of two mono files, yes, but it's a stereo file with the same 
> signal in left and right channels.  What I want is mono file #1 to 
> become the left channel and mono file #2 to become the right channel. 
> It seems silly-easy -- change the header of the wav data to indicate 
> stereo, then interleave the samples from the two files...  I'm not sure 
> why I'm having such trouble actually finding such a utility.

I've been using a program called sxim to do this for awhile:

http://www.freewebs.com/leoab/sxim.html

I made the change from the following patch to change the output format,
since lame didn't like the output format originally used.

http://pug.qqx.org/sxim_output_format.patch



More information about the TriLUG mailing list