Initializer

init()

Initializes a new sequencer that's not connected to an audio engine.

Declaration

init()

Discussion

This initializer is used to create a sequencer whose tracks will only send events to external MIDI endpoints.

See Also

Creating an Audio Sequencer

init(audioEngine: AVAudioEngine)

Initializes a new sequencer, handing it the audio engine.

func write(to: URL, smpteResolution: Int, replaceExisting: Bool)

Creates and writes a MIDI file from the events in the sequence.