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.

5 (4) · 1 Review

Download materials
Save for later
Comments
Share

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

01
Toggle description

Get started with AVFoundation by recording some spoken audio with the AVRecorder.

Play Audio 2:41
Toggle description

Learn how to play back audio with the AVAudioPlayer and configure it with audio settings.

Toggle description

Understand how to configure your app to respond to headphone changes or phone interuptions.

Toggle description

Incorporate audio metering by making a penguin animate to the sound of your voice.

Toggle description

Learn how to add reverb and pitch effects into your audio by way of the AVAudioEngine.

Toggle description

Use the speech synthesizer to add text to speech to your app.