This project has moved and is read-only. For the latest updates, please go here.

WaveProviders

Mar 8, 2011 at 10:22 PM

Hi,

I'm a total newbie so apologies for what is probably a easy task, I'm trying to learn!!

Can anyone provide an example or pointer for using NAudio with the StereoToMonoProvider. I've successfully managed to record a wasapi Line in and now trying to perform separation  of the left & right channels into two files. 

Thanks in advance 

Mar 10, 2011 at 11:00 AM

the StereoToMonoProvider is a very new part of NAudio, but should be straightforward to use

Pass in your WaveFileReader to the constructor. To get just the left channel out, set LeftVolume = 1.0f; and RightVolume = 0.0f;

Mark