On Fri, 19 Jan 2007 10:38:25 +0100, "Milsnips" <mi******@hotmail.com>
wrote:
>hi there,
any examples or is it possible to open say 3 wav files, and put all their
file streams together into one filestream?
thanks,
Paul
Paul,
The Wav file format is fairly direct. The audio data inside the file
could be merged IF all three files are the same format. But
there are different audio formats; sample rates, mono vs stereo, etc.
You will also need to create a new header, as that describes the
length of the internal audio data.
Format description:
http://www.sonicspot.com/guide/wavefiles.html
A Wav file editor project:
http://www.codeproject.com/cs/media/...asp?print=true
There are probably more on CodeProject (my favorite site).
There's often additional info at the end of a WAV file, so when you
reach the audio data chunk, you may not be home free.
Most commercial audio editing software will handle this, and may do
format conversions if necessary. If you do a direct splice of the WAV
data, you can also be subject to a 'tick,' depending on a number of
factors. Some of the commercial software allows blended crossfade to
avoid this.