Audio Engine Building Blocks

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

Topics

Source Node Types

class AVAudioInputNode

A node that connects to the system's audio input.

class AVAudioIONode

The base class for nodes that connect to the system's audio input or output.

typealias AVAudioIONodeInputBlock

A block to get input data when called by a render operation in the manual rendering mode.

typealias AVAudioNodeCompletionHandler

A general callback handler.

typealias AVAudioPlayerNodeCompletionHandler

The callback handler for buffer or file completion.

class AVAudioPlayerNode

A class that plays buffers or segments of audio files.

class AVAudioUnitGenerator

An audio unit subclass that generates audio output.

class AVAudioUnitMIDIInstrument

An abstract class representing music devices or remote instruments.

class AVAudioUnitSampler

A class that encapsulates Apple's Sampler Audio Unit.

class AVAudioSequencer

A collection of MIDI events organized into multiple music tracks, plus a player to play back the events.

Audio Processing Node Types

Audio Mixing

Mix multiple tracks for an audio engine instance.

Audio Enhancements

Enhance audio units with subclasses that implement different effects.

3D Options

Apply 3D mixing and effects to audio.

Destination Node Types

class AVAudioOutputNode

This class represents an audio node that connects to the system's audio output.

See Also

Multitrack Playback and Recording

class AVAudioEngine

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

class AVAudioNode

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

class 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.