Get midi device name from a midi message


#1

Hi !

I would like to know if we can get the midi device name from a midi message ? I'd like to know which midi message is sent by which midi device.

I can get the name of connected midi devices from the static method MidiInput::getDevices() but I would like to have the name

of midi devices which arrives from the daw in processBlock(AudioSampleBuffer& buffer, MidiBuffer& midiMessages) to process

only midi message arriving from a particular device.

 

Thanks for any help !

 

Victor