AudioPluginHost, intercepting MIDI to load states

Hi,

I’m currently working with the AudioPluginHost and I need to intercept the MIDI messages to create a feature to load different states using MIDI data.

It’s not clear to me how it’s possible especially since all the nodes in the AudioPluginHost are part of a graph.

Is there a simpler example to load a VST and connect it to the MIDI inputs and audio outputs? Without all the extra features of the AudioPluginHost

Does this help?

Wow yes, that will keep me busy for a while!

Thanks

I’ve built this demo on 2 different machines and can’t seem to get any audio to come from the loaded plugin. Also it doesn’t seem to be receiving any MIDI.

I have selected the MIDI input and audio output in the options, and i can hear output when i click “Test”.

Anyone else have this issue? Or am i missing something?

That example doesn’t do any actual processing of audio or MIDI. It’s just to show how to load a plugin and show its GUI. To get the processing working would require quite a lot of additional code, which I guess they didn’t want to have in that example.