How to choose audio channel?

I'm using waveinOpen to capture sound from my microphone. I know how to set how many channels to use, but how do you tell it what channel to use - left or right?
1 channel would be mono, and 2 channels would be stereo.

If you want only left or right channel, then you'll have to select stereo -- and you can just discard left/right channel if you're not using it.
So, it stores data from both channels together (in one array) if I choose mono?
both channels together


Well... if you chose mono, there's only one channel.

If the source is stereo and it gets converted to mono, then both channels usually get mixed together.



Maybe it'll help to think of it this way:

1 channel = mono = "center" channel
2 channels = stereo = "left" and "right" channels
Microphone has 2 channels. If I choose mono, from which channel does it record data? I understand it records only one channel, but let's say that I have Song 1 on mic L channel and Song 2 on mic R channel. They both play at the same time. If I choose stereo, both are recorded, but if I choose mono, which one is recorded? Song 1 or Song2?
It probably mixes them: (L+R)/2
Last edited on
That's what I thought, thanks.
Topic archived. No new replies allowed.