Up to this point in the book, all of the sample applications have had one thing in common: they have been mute. Quality sound effects and background music are essential components of computer games. They help set the mood and to make things more exciting. Effective use of sound effects can also provide an additional means of communicating with game players, letting them know when certain types of events occur.
An overview of the major topics covered in this chapter includes learning:
About the different types of audio files supported by XNA
How to add audio files to your XNA applications
How to play and pause audio playback
How to loop audio playback and to control volume, pitch, and pan