Audio with AVFoundation | raywenderlich.com

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.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/21868250-audio-with-avfoundation

Hi Brian, thanks for the great tutorial on AVFoundation. Can you provide a video of what the final result will look like? Usually you guys do this at the beginning of the workshop as a teaser for what the dev will have accomplished at the end. You jumped right in on how to record audio (which is awesome too). Maybe I just missed it. Have a great one.

Great Tutorial. Very helpful. I’d like to print the name of the current audio input route on the settings screen. I experimented with AVAudioSession.sharedInstance().currentRoute.description, but it tends to crash. Is there a preferred way to do this safely?

Thanks!