Reputation: 137
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
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