Populating OSC Midi Ports (manually?)

Hi,

Brand new to OSC -- decided to roll my own controller as I unsatisfied with all the hardware controllers available. Using Windows 10 Pro 22H2 on an i9 box. LoopMIDI is my virtual MIDI software. My question is this: must the MIDI "pool" be re-queried each time in OSC to get the in and out port indices, or is there a way to populate this automatically at runtime, by opening LoopMIDI, obtaining the correct port indices and then populating them?

Thanks,

jms4th

It's possible to use strings instead of port indices to select midi ports by name, this should be more reliable:

  • input / output can be port numbers or strings (as reported by the list action). If a string is specified, the first port whose name contains the string will be used (comparison is case-insensitive).
1 Like

Thank you, Jean-Emmanuel. That makes sense.