Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the best (recommended) way to integrate audio (both sound effect and music) in a game project (using C#/XNA) targeting multiple desktop platforms (W7, W8 Metro, Linux, OSX, ...) via MonoGame. XACT was the usual way in XNA but it is deprecated in W8 and also cannot be used with MonoGame, I am looking for an alternaive. Is there one?

share|improve this question

The "usual" way is to use the SoundEffect class. This will work on multiple platforms out of the box; it's done "the XNA way," so if you've used XNA, you should be familiar with how this works.

The only issue I found so far (tested on XP, Win7, and Android emulator) is that sound doesn't work on XP. I posted my long, painful saga (and solution) in this question and answer. (TLDR: OpenAL doesn't work on XP, so use NAudio for Windows instead.)

share|improve this answer
Couldn't you use the Microsoft XNA implementation on XP? – Andrew Russell Feb 6 '13 at 15:19
@AndrewRussell why would I want my game referencing both MonoGame and Microsoft XNA? I'd rather just select a subset of it -- or even a subset of the NAudio library. – ashes999 Feb 6 '13 at 20:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.