XNA for Silverlight developers: Part 8 - Music and sound effects
Published on Friday, March 25, 2011 1:59:00 PM UTC in Programming
What would a game be without sound effects and music? Naturally Windows Phone 7 offers enough possibilities to add a rich acoustic experience to your apps and games. However, due to the nature of the device, there are some things to keep in mind. Even with the lack of real multi-tasking, you don't have the whole platform at your disposal exclusively. The user may already listen to music from the media library when they start your game, for example. In addition, a mobile device may also be used in an environment where noise is not welcome. These are things you have to consider when you add audio to your game. Some of these aspects are even regulated in the certification requirements for Windows Phone 7 applications and are a potential source for certification failure if implemented incorrectly. In my new article, I'll take a look at how audio can be integrated in your games and what the implications are for playing sounds and music in Silverlight and XNA. As always, source code for the discussed samples is available for download.