vikram posted:
in a stereo type of wave file
i want to know what is this left & right info in a wave file???
how do i read the left & right info from a .wav file to a buffer..
Let me see if I have this right:
You have a stereo wave file. A stereo wave file has two seperate channels.
It's like two mono wave files played simultaneously, although through
different output devices, ie. two different speakers.
You want to split this stereo wave file into two mono wave files, either
just in memory, or on disk.
Well...
First thing you need to do is read up on what way a wave file is written.
This involves learning about the "header" of a wave file. I did this myself
about 2 years ago with several different media files types, MP3, WAV, WMA,
MID.
First thing, go to
www.google.com, search for
WAVE SOUND AUDIO HEADER .WAV
That should probably give you a good site that will describe the header of a
wave file perfectly. It's ALOT less complicated than MP3 in anyway.
Once you know what you're doing then, I believe there's a good bit a stuff
in the C++ Standard Library that will help you greatly.
-JKop