MIDI Input

Hi,

 

Is it possible for multiple instances of a plugin to receive MIDI input from the same external source? So, for example, in the DAW host you have a number of tracks with plugins inserted that listen to input from say something like an ipMIDI channel.  

 

Thanks,

Alan 

Hmm, I vaguely remember that the old win32 midi drivers were a bit crappy about opening multiple instances of the same device.

But in something like a DAW you wouldn't want to open multiple instances of the OS-level midi device anyway because that'd be inefficient. You'd just create one MidiInput object and then send the incoming events to multiple destinations if that's what you need to do. Or use an AudioDeviceManager, which will open a single MidiInput and allow you to attach multiple listeners to it.