I’m generating a midi file successfully and have implemented some drag and drop functionality to pull that midi file into my project (I’m using logic).
The thing that I’m stuck on right now is I want to play that midi sequence in the plugin before I go ahead and drag over onto the track. I’ve seen examples of people playing midi files with an instrument registered in the plugin, but I’d ideally like to hear how the midi sounds with the track’s midi instrument. Can someone point me in the right direction here? I’ve done lots of research but haven’t had any success. Maybe I’m just confused, but it seems like all the examples deal with live playback against the track itself. I’d like to have this play via the instrument without making the full project playback. Think logic’s musical typing, but with a series of pre-defined midi notes rather than one individual note.
I see some posts like this that say it requires overriding the host.
Others seem to show something akin to the ability to override the getNextAudioBlock method, but I would think that’s only called playing back the project, yeah?
Just looking for some direction on how to approach it. Thanks!