[music-dsp] Quickest way from two mono files into one stereo?

Richard Dobson richarddobson at blueyonder.co.uk
Tue Apr 6 06:53:30 EDT 2004


What platform are you on? My "interlx" program in the free CDP Toolkit
(http://www.bath.ac.uk/~masrwd/mctools.html, Win32 console programs, OS X
versions "coming soon") will interleave mono files into stereo, and can be
called from any scripting program that can run external programs (python,
tcl,octave, etc); you could even write a makefile for use with some version of
make. "interlx" doesn't suport raw files, so you would need sox to convert them
first to aiff or wav. I have never seen any advantage to raw files, so have
never supported them. I suppose I will have to relent one day.

You may also find Csound useful; that does support raw files, though you will 
have to do some work to specify not only the format, but also the durations. 
Headers make soundfiles so much easier to deal with!

There must be other batchable interleaving programs around, though...?

  Richard Dobson



Tommi R H Keranen wrote:
> Hello list,
> 
> maybe not the most DSP oriented question but I am
> sure some people in the have had this problem here
> before...I have a bunch of stereo recordings split
> into mono files (as raw data). What would be the most
> clever way to convert these files into stereo files
> (from left & right mono files into one stereo)? Since
> some of the files are rather large and the number of
> files is more than little, it would very convinient to
> perform using something like sox with some scripting
> instead of using some audio editor. Any ideas?
> 
>  TK
> 
> dupswapdrop -- the music-dsp mailing list and website: 
> subscription info, FAQ, source code archive, list archive, book reviews, dsp links 
> http://shoko.calarts.edu/musicdsp 
> http://ceait.calarts.edu/mailman/listinfo/music-dsp
> 
> 
> 





More information about the music-dsp mailing list