O'Reilly logo

XNA® Game Studio 4.0 for Xbox 360® Developers by Jonathan S. Harbour

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Audio

The audio system in XNA makes it possible to reproduce sound effects and music in two different ways. First, we can play audio clips directly from audio files loaded at runtime, with support for the most common audio file formats. Second, we can use Microsoft’s Cross-Platform Audio Creation Tool, also known as XACT, which is more often used for complex games with many audio files. The first approach involves loading and managing audio objects in our own code. The second approach leaves the details largely up to classes provided for working with XACT resources built at compile time and then made available from a container of objects. I’m going to cover the audio system in the Microsoft.Xna.Framework.Audio namespace in detail, followed ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required