Up to this point, you have seen several ways of manipulating images and video using the iPhone SDK. You will now turn your attention toward audio. There are many ways to control audio on the iPhone OS, with some approaches much easier to learn than others. The range of options is displayed in the following figure:
The system sound API is the easiest to use. The Audio Queue Services package in Audio Toolbox is more difficult to use, but it gives you fine-grained control over audio.
In this section, you see how to do two simple things: make the phone vibrate and play a short audio file. If you want to add distortions, record audio, ...