Chapter 11. 3D Audio—Turning Noise into Game Sounds

Chapter 10 got a little heavy, but as I promised at the end of that chapter, things will lighten up in this chapter. We now get to apply 3D effects to our audio! No longer will we be making just a simple noise. We will be applying rich characteristics to the sounds that better represent the entities in your game.

To access 3D effects, we will be using OpenAL exclusively (as I noted in Chapter 10, I'm taking a mostly OpenAL-centric approach to my coverage of audio for iPhone games). This is not to say you couldn't implement 3D effects yourself without OpenAL, but OpenAL has already done a lot of the heavy lifting for you. OpenAL supports multiple properties to represent your sounds in 3D space. ...

Get Beginning iPhone Games Development 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.