Any way to distinguish Virtual MIDI Ports from real MIDI Ports?

If you have a list/array of available MIDI in/out ports, is there any way to distinguish which ones may be virtual as opposed to “real” MIDI ports?

I assume this would be completely different on Windows and Mac.

For example, on the Mac, you could have the IAC Bus enabled. The user can name these ports anything they want, so the name isn’t going to be a reliable indicator. Is there a way, through CoreMidi perhaps, to determine it’s a virtual port?

On Windows you could be using something like LoopBE or VirtualMIDI. Anyway through the Windows API to determine a virtual port?

1 Like

I don’t know the answer to this (except that there’s no way that I’m aware of to distinguish virtual ports within JUCE), but I am curious to hear more.