An abstract class for an audio generation, processing, or I/O block.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- AVFoundation
Declaration
class AVAudioNode : NSObject
Overview
AVAudio
objects contain instances of various AVAudio
subclasses. This base class provides certain common functionality.
Nodes have input and output busses, which can be thought of as connection points. For example, an effect typically has one input bus and one output bus. A mixer typically has multiple input busses and one output bus.
Busses have formats, expressed in terms of sample rate and channel count. When making connections between nodes, often the format must match exactly. However, there are exceptions such as the AVAudio
and AVAudio
classes.
Nodes do not currently provide useful functionality until attached to an engine.