This is, as usual probably very simple for the experienced Jucers but I need some guidance:
If you have a AudioProcessorGraph and a Player, like in the HostDemo, You can route MIDI from hardware inputs just like audio.
As far as I have figured out the common way of doing this is by adding a AudioGraphIOProcessor node with the IODeviceType set to midiInputNode.
Now, how do you know which actual MIDI device the messages are coming from?
If you enable two midi devices, can you send messages from MIDI device 1 to node A and device 2 to node B?
Is this possible out of the box or would I need to create my own AudioGraphIOProcessors?
As far as I can tell from looking through the classes, the only place where you can filter messages by device (in a setup like this) is in handleIncomingMidiMessage in AudioProcessorPlayer.
Anyone else done this and found a clever way?