This little C program will take two 16 bit mono wav files and create a single interleaved wav file
Here's the executable 2stereo.exe
Here's a zip file of the source 2stereo.zip
This program is designed to convert Mac Sound Designer II files to wav files. Since all the metadata in an SDII file is in the resource fork, all we get on the PC side is the raw PCM data. So what this program really does is swap from Motorola to Intel byte order and add a wav file header using parameters that you give it.
The command line version takes input and output file names as parameters and has options for setting bit depth, sample rate, and number of channels.
Here's the executable sd2wav.exe
Here's the source code sd2wav.zip
If you want to convert a bunch of files it's probably easier to use this GUI interface. It's just a little VB program that allows normal file open dialogs or drag and drop selection of multiple files, let's you set the options using radio buttons, then starts up the C program listed above for each file. Of course, a little VB program is 1.6MB while a little C program is <32K. Oh well ...
Here's a zip file containing the install program GUI2Wav.zip
And here's the source code GUI2WavSrc.zip
If you have an ealier version installed you can just grab the latest exe GUI2Wav.exe
I'm working (very slowly) on some other projects as well. In most cases I have several goals. I write these things in part because I would like to use the resulting program. But I work the way I do (C++, C, VB, etc) in order to learn about different environments. Finally, my day job at Athens Group doesn't give me as much coding time as I'd like so I write because I like to code. (I love my job. It's just that analysis work often pays better.)
If you're interested in any of these projects feel free to contact me, but you should realize that these are a long ways from usefule yet.
Feel free to use and abuse these programs. If you do anything interesting with them, I'd like to hear from you at david@mcgriffy.com