Advertisement

Looking for the right audio API for C#

Started by October 24, 2014 05:08 AM
2 comments, last by ElGeeko7 10 years, 3 months ago

Hi guys,

I'm not actually a beginner at programming (and in fact I know like a dozen languages), but for some reason APIs are still way over my head. Sometimes it seems like for every link I click on MSDN, I find myself scratching my head and clicking another hoping for a clear explanation of what certain APIs do and how they are meant to be used. API docs seem to be more like an encycolpedia than a tutorial - meant for reference for people who already know what they're doing; that's great when I need a reference resource, but they don't help to learn Jack, lol. So in that respect I am still very much a noob. : )

So anyway, I'm looking for an audio API that can do "3-D" sounds (so multiple sounds playing at once, each with their own volume, pan etc.). I've tried using Windows Media Player controls, this one function that only plays one sound at a time, and a few other things but with no luck. I've seen a sickeningly humungous list of names - openGL, openAL, SDL, etc. etc. etc. each one seemingly taking forever to get working. So my question for all you audio experts out there is, can you recommend a fairly straightforward API, preferably with noob-friendly docs, for C# games?

Thanks in advance.

What are you using for your graphics etc? I use XNA/MonoGame, and I use their APIs for sound as well.
Advertisement

I'm a huge fan of Wwise (https://www.audiokinetic.com/products/wwise/), use it at work and for a couple of personal projects (using MonoGame).

The Wwise SDK is written in C, but you can get a C# wrapper for it here http://adrienbock.com/WwiseSharp.

While Wwise is typically licensed it's easy to get a non-profit/educational licence, and you can pick up the evaluation edition immediately (restricted to 200 events if memory serves).

For the graphics I'm just using Visual Studio. I've been using GDI+ functions to draw the graphics onto the main window.

This topic is closed to new replies.

Advertisement