简体   繁体   中英

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM