Chapter 7. Playing Sounds
In this chapter, you will
Find out how to prepare sounds for inclusion in Microsoft XNA projects.
Incorporate sounds into XNA.
Play the sounds from within your programs.
Adding Sound
Now that you can display pictures and text, it’s time to make some noise. Then you can set about making a proper gaming experience for your players. You add sound to a game in the same way as you add other resources. You can even grab your favorite sound sample and drop it into the XNA Game Studio project as you did for the graphics resources (remembering to respect copyrights, of course).
If you want even more control over the sounds that your game makes, you can use something called the Microsoft Cross-Platform Audio Creation Tool (XACT) to create ...
Get Microsoft® XNA® Game Studio 4.0: Learn Programming Now! now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.