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

Couple Questions

Jul 19, 2012 at 9:52 PM


Is it possible to play a wave file out of the left or right channels only, aka a balance control?

What method returns the total length of a wave file?



Jul 20, 2012 at 1:26 PM


Jul 21, 2012 at 9:39 AM

Yes, it is possible. I would use Multiplexing wave provider (Mark posted a tutorial on his blog:

WaveStream class has Length property which will tell you the length in samples of the wave file.

Jul 21, 2012 at 10:54 AM

Legoless is right if you want to simply route signals to different outputs rather than mix the levels.

I have a feeling that WaveChannel32 has a balance/pan implementation. It would also be easy to create your own panning logic if you are using the new ISampleProvider interface