Audio with AVFoundation
AVFoundation is Apple’s advanced framework for working with time-based media, such as audio and video. This course covers the essentials to using the AVFoundation framework to create audio based apps. You’ll learn how to set up audio sessions; record and playback audio; audio metering, how to control volume and rate; special effects, such as pitch and reverb; and generating speech from text. By Brian Moakley.
Who is this for?
This course is for intermediate iOS developers who are comfortable with the Swift language, SwiftUI and know their way around Xcode.
Covered concepts
- Audio Recording
- Audio Playback
- Interuptionss and Route Changes
- Audio Metering
- Reverb, Rate and Pitch Effects
- Audio Engine
- Speech Synthesizer
Part 1: Audio with AVFoundation
Get started with AVFoundation by recording some spoken audio with the AVRecorder.
Learn how to play back audio with the AVAudioPlayer and configure it with audio settings.
Understand how to configure your app to respond to headphone changes or phone interuptions.
Incorporate audio metering by making a penguin animate to the sound of your voice.
Learn how to add reverb and pitch effects into your audio by way of the AVAudioEngine.
Use the speech synthesizer to add text to speech to your app.