Initializer

init(url:)

Initializes an audio node from an audio asset with the specified URL.

Declaration

convenience init(url: URL)

Parameters

url

The URL of an audio file.

Return Value

A newly initialized audio node.

See Also

Initializing Audio Nodes

init(avAudioNode: AVAudioNode?)

Initializes an audio node from an AVFoundation audio node.

init(fileNamed: String)

Initializes an audio node from an audio asset with the specified filename.

init?(coder: NSCoder)

Tells you when to initialize an audio node that has been unarchived.