Instance Method

load(from:options:)

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

Declaration

func load(from fileURL: URL, options: AVMusicSequenceLoadOptions = []) throws

See Also

Managing Sequence Load Options

func load(from: Data, options: AVMusicSequenceLoadOptions)

Parses the data and adds its 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.