Class

AUParameterNode

An AUParameterNode object represents a node in an audio unit’s parameter tree. Nodes are instances of either an AUParameter or AUParameterGroup class.

Declaration

class AUParameterNode : NSObject

Topics

Identifiers

var identifier: String

A non-localized, permanent name for the parameter node.

var keyPath: String

A key path generated by concatenating the identifiers of the parameter and its parents.

var displayName: String

A localized display name for the parameter node.

func displayName(withLength: Int) -> String

Another version of the display name, possibly truncated to a desired length.

Audio Unit Implementations

These properties are only of interest to audio unit subclasses.

var implementorValueObserver: AUImplementorValueObserver

The callback for parameter value changes.

var implementorValueProvider: AUImplementorValueProvider

The callback for refreshing known stale values in a parameter tree.

var implementorStringFromValueCallback: AUImplementorStringFromValueCallback

The callback for providing a string representation of a parameter value.

var implementorValueFromStringCallback: AUImplementorValueFromStringCallback

The callback for converting a string to a parameter value.

var implementorDisplayNameWithLengthCallback: AUImplementorDisplayNameWithLengthCallback

The callback for obtaining an abbreviated version of a parameter node display name.

Constants

typealias AUParameterObserver

A block called after the value of a parameter changes.

typealias AUParameterRecordingObserver

A block called to record parameter changes as automation events.

typealias AUImplementorValueObserver

A block called to notify the audio unit implementation of changes to a parameter value.

typealias AUImplementorValueProvider

A block called to fetch a parameter’s current value from the audio unit implementation.

typealias AUImplementorStringFromValueCallback

A block called to convert a parameter value to a string representation.

typealias AUImplementorValueFromStringCallback

A block called to convert a string to a parameter value.

typealias AUImplementorDisplayNameWithLengthCallback

A block called to obtain a parameter node’s display name, possibly truncated to a desired length.

Relationships

Inherits From

Conforms To

See Also

Audio Unit v3

class AUAudioUnit

The AUAudioUnit class defines a host’s interface to an audio unit.

class AUAudioUnitBus

The AUAudioUnitBus class defines an input or output connection point on an audio unit.

class AUAudioUnitBusArray

The AUAudioUnitBusArray class defines a container for an audio unit’s input or output busses.

class AUAudioUnitPreset

The AUAudioUnitPreset class describes an interface for custom parameter settings provided by the audio unit developer. These presets often produce a useful sound or starting point.

class AUAudioUnitV2Bridge

The AUAudioUnitV2Bridge class wraps a version 2 audio unit in an AUAudioUnit subclass.

class AUParameter

An AUParameter object represents a single audio unit parameter.

class AUParameterGroup

A parameter group object represents a group of related audio unit parameters.

class AUParameterTree

An AUParameterTree object is a top-level group node, representing all of an audio unit’s parameters. An audio unit’s parameters are organized into a tree containing groups and parameters (groups may be nested).

protocol AUAudioUnitFactory

Implement this protocol to create a version 3 audio unit.