By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,193 Members | 826 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,193 IT Pros & Developers. It's quick & easy.

wave file

P: n/a
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..
Jul 22 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
vikram wrote:

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..


Even if you think it is, this is not a question
about C++. It is a question of how a particula file
format works.

Unfortunately I have no idea, where you could ask such
a question.

--
Karl Heinz Buchegger
kb******@gascad.at
Jul 22 '05 #2

P: n/a
vikram wrote:
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..


I am sorry, vikram, what's your C++ language question?
Jul 22 '05 #3

P: n/a
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
Jul 22 '05 #4

P: n/a
Karl Heinz Buchegger wrote:

vikram wrote:

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..


Even if you think it is, this is not a question
about C++. It is a question of how a particula file
format works.

Unfortunately I have no idea, where you could ask such
a question.

A good place to start looking for information on proprietary file
formats is wotsit.org:
http://www.wotsit.org/search.asp?page=8&s=music

Brian Rodenborn
Jul 22 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.