2015
Lynda
John Nastos
2:09
English
Audio apps, such as synths, tuners, and podcast players, are some of the most popular in the App Store. But even the simplest apps are usually wired for sound. John Nastos, the developer of Metronomics, shows how he uses iOS system sounds and playback controls to program iOS apps with sound. He walks through the four main frameworks—System Sound Services, AVFoundation and AVAudioPlayer, Audio Queue Services, and Core Audio—providing developers with the information they need to start working with sound or transition their existing skills from a different language or platform.
Introduction
Welcome
What you should know before watching this course
Using the exercise files
1. System Sound Services
Advantages and disadvantages of System Sound Services
Playing sounds with System Sound Services
2. Exploring AVAudioSession
Introducing AVAudioSession
Setting up an audio session
3. AVFoundation and AVAudioPlayer/AVAudioRecorder
Advantages and disadvantages of AVAudioPlayer
Preparing and playing sound with AVFoundation
Challenge: Control the audio playback rate
Solution: Control the audio playback rate
Using AVAudioRecorder
4. Audio Queue Services
Advantages and disadvantages of Audio Queue Services
Laying the groundwork and setting the recording format
Setting up an audio input queue
Recording audio with an input queue
Setting up an audio output queue
Playing audio with an audio output queue
5. Core Audio and Audio Units
Advantages and disadvantages of Core Audio
Overview of audio unit types
Setting up a RemoteIO audio unit
Starting and stopping an audio unit
Writing real-time audio to an audio unit callback
Challenge: Change the output frequency with a slider
Solution: Change the output frequency with a slider
Setting up RemoteIO for audio input
Starting and stopping recording from RemoteIO
Challenge: Showing the input level
Solution: Showing the input level
6. General iOS Audio Handling
Registering for background services and playing background audio
Responding to interruptions and route changes
Responding to remote control events and providing "now playing" information
7. Third-Party Audio Frameworks
Overview of third-party audio frameworks for iOS audio
Conclusion
Next steps
Download File Size:438.04 MB