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

Play specific channel in a multichannel WMA file- c#

Jun 20, 2012 at 4:43 PM

  Hi,

We have a c# project in .Net framework 4.0. In the recording session, we create a multichannel WMA file (6-8 channels).
The user should be able to play any channel (one or more) they want. How can I play only one specific channel from a multichannel WMA file or WAV using NAudio ?.

I am using Window 7 and the NAudio version is 1.3

Thanks in advance for your help!

Jun 21, 2012 at 9:42 AM

Read this article to understand how to route audio to different outputs:

http://mark-dot-net.blogspot.co.uk/2012/01/handling-multi-channel-audio-in-naudio.html

I'm not sure if the WMA support in NAudio will work with multi-channels. You'll just have to try it. Also, not all output driver models will support being opened with multiple channels.

I also recommend updating to the very latest NAudio code.