I’m being commissioned to rewrite an old (2012) VST 2/RTMIDI plugin in JUCE and so far I’m able to comprehend a good amount of it from the docs, but at the same time, there’s still a lot I can’t wrap my mind around. I’ve been requested to target AU and VST 3 with this. I’m new to coding stuff for MIDI also. I’m good with format parsing but the whole message sending architecture is foreign to me. The answer might be staring right at me in the docs, but even the most professional coders can overlook something.
My big issue at the moment is that there seems to be two components, VstEvent and VstMidiEvent, for loading message data into. I’m guessing with JUCE, MidiBuffer is involved. However, I’m not sure where this MidiBuffer object would come from: do I take it as a parameter? If so, from where? Or if I create a temporary one in the function, how do I send out data with it?
I appreciate the help given! Thank you.