Instance Property

avAudioNode

The audio node’s current audio asset.

Declaration

var avAudioNode: AVAudioNode? { get set }

Discussion

The AV audio node must refer to an AVAudioEngine sound graph from a single sound source or URL.

See Also

Configuring Audio Nodes

var isPositional: Bool

A Boolean property that indicates whether the node’s audio is altered based on the position of the node.

var autoplayLooped: Bool

A Boolean value that indicates whether the audio should play in a loop when the node is added to the scene.