Fuad Adetoro
Fuad Adetoro

Reputation: 137

AudioKit using AKSequencer GenData & LoadMIDIFile

I'm using AKSequencer's genData function to receive the MIDI in file format. I would next like to use that MIDI file that I generate to load it into a AKSequencer. Is this possible?

Upvotes: 1

Views: 194

Answers (1)

c_booth
c_booth

Reputation: 2225

Yes. AudioKit's MIDIFileEditAndSync example shows both how to create a new AKSequencer from a MIDI file using loadMIDIFile() and how to add the tracks from a MIDI file to an existing AKSequencer using addMIDIFileTracks(). Of course the output of the genData method can be used to do either.

Upvotes: 3

Related Questions