This course is available as part of the raywenderlich.com Professional subscription. To learn more click here
Pro

Audio with AVFoundation

Jul 29 2021 · Video Course (38 mins) · Intermediate

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.

5/5 2 Ratings

Version

  • Swift 5.3, iOS 14, Xcode 12

Audio with AVFoundation

Record Audio

8:10 Free

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

1

Play Audio

2:41

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

2

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

3

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

4

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

5

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

6

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

Contributors

Comments