Thomas
Thomas

Reputation: 61

Playing musicSequence on AVAudioEngine

AVAudioEngine has a musicSequence property that can be set. However, I am having a hard time figuring out how to play it? I tried using startAndReturnError but to no avail

Upvotes: 4

Views: 1118

Answers (1)

Grigori Jlavyan
Grigori Jlavyan

Reputation: 1981

This is good example how you can use it. MusicSequence

AVAudioEngine Also this is documentation for AudioEngine

Please look

The music sequence that was previously attached to the audio engine.

Declaration SWIFT

var musicSequence: MusicSequence

OBJECTIVE-C

@property(nonatomic) MusicSequence musicSequence

Availability Available in iOS 8.0 and later.

Upvotes: 2

Related Questions