Instance Method

load(from:options:)

Parses the data and adds its events to the sequence.

Declaration

func load(from data: Data, options: AVMusicSequenceLoadOptions = []) throws

See Also

Managing Sequence Load Options

func load(from: URL, options: AVMusicSequenceLoadOptions)

Loads the file referenced by the URL and adds the events to the sequence.

struct AVMusicSequenceLoadOptions

A structure that defines whether data on different MIDI channels is mapped to multiple tracks, or if the tracks are preserved as they are.