The plugin I’m working on right now generates a drag and droppable Midi file, which contains the Midi data that the plugin outputs. I’m adding textMetaEvent, timeSignatureMetaEvent and tempoMetaEvent to this midi file.
I drag and drop this file onto the DAW, and let my plugin read this Midi region.
I want to be able to differentiate between this Midi region and any other regular Midi region that the user inputs, since each case is to be handled differently in the plugin.
Is there any special Midi message I can use for this purpose? Like meta events or SysEx messages? Something I can add to my drag and droppable midi file, so that it is read differently by my plugin?
Thing is, when iterating through the midiMessages buffer in the processBlock, I do not receive this meta event, and so the plugin is not able to tell whether the subsequent chunk of messages is coming from my special region or not.
Do you know of a way my processor can read such meta events coming from the DAW?