I want to do some slightly advanced audio playing using a standard WPF application.
Here is what I need:
I know the SoundPlayer class in not sufficient because it cannot play multiple sounds at once, so I began looking into the XNA SoundEffect class (and similar) but Im not sure how exactly the interoperability between XNA and WPF works.
Can someone shed some light here for me?
Cheers Mark
So thanks very much for the library help everyone, but I ended up solving the problem by using the XNA XACT tool and the Audio framework that comes with XNA.
I did end up simply being able to add a reference to the XNA .Net Libraries and using them. There was a bit of initial confusion at first, but at the end, as long as you call Update() on your AudioEngine object every now and then, it works very well.
You can set programmable variables in your audio project (within XACT) that you manually manipulate using c#, I did this by adjusting the volume and pitch using the mouse x and y coords on the screen.
Here is a link to the tutorial that shows this nicely: http://blogs.msdn.com/coding4fun/archive/2007/04/27/2307521.aspx
-- Mark