Audio Track Engineering

Play, record, mix, and process audio.

Overview

The AVFoundation audio capabilities include the ability to play, record, mix, and process audio.

Topics

First Steps

Use fundamental classes, formats, and settings to represent audio files and audio data.

AVAudioFile

An audio file that can be opened for reading or writing.

AVAudioBuffer

A buffer of audio data and its format.

AVAudioTime

A class used by the audio engine to represent time.

Audio Settings and Formats

Define audio data with these constants and classes.

Single Track Playback and Recording

Record and play a single audio track.

AVAudioPlayer

An audio player that provides playback of audio data from a file or memory.

AVAudioRecorder

A class that provides audio recording capability in your application.

AVMIDIPlayer

A player for music file formats such as MIDI and iMelody.

Multitrack Playback and Recording

Record and play audio tracks from multiple inputs to multiple outputs. Connect nodes to mix tracks, process audio streams, and add effects such as 3D audio.

AVAudioEngine

A group of connected audio node objects used to generate and process audio signals and perform audio input and output.

AVAudioNode

An abstract class for an audio generation, processing, or I/O block.

AVAudioUnit

A subclass of the audio node class that, depending on the type of the audio unit, processes audio either in real time or non-real time.

Audio Engine Building Blocks

Add audio input, processing, and output to an audio engine instance.

Audio Helpers

Operations that support single and multitrack audio engineering, as well as audio file conversion.

AVAudioConverter

A class that converts streams of audio between various formats.

AVAudioConverterInputBlock

A block to get input data as needed, for conversion.

AVAudioUnitComponent

A class that provides details about an audio unit such as: type, subtype, manufacturer, and location.

AVAudioUnitComponentManager

An object that provides a way to search and query audio components that are registered with the system.

See Also

Audio

System Audio Interaction

Integrate system audio into your app.