It it possible to name separate USB MIDI interfaces? #16435
Replies: 1 comment 5 replies
-
Not from the USB side, I don't think. There's no string field in any of the MIDI descriptors, just the device product string. You might be able to change the names in the host computer OS, or in Windows maybe even via a custom .inf driver file, but I'm guessing that won't solve the problem for you.
This is probably the way, although I think these also won't provide you with different names just different numbered "Jack IDs". As per the comment here, the driver has all of the structure to add multiple "jacks" in one descriptor but I didn't have a lot of luck getting something useful out of it. |
Beta Was this translation helpful? Give feedback.
-
It is fairly easy to implement multiple midi interfaces over one USB connection, but how do I give each one a unique name?
To demonstrate what I’m talking about, let‘s modify midi_example.py, by changing lines 45 to 47:
into:
After this change three MIDI connections show up in my DAW (FL Studio 2024): ‘Test’, ‘Test #2’ and ‘Test #3’. I assume they acually are all three called ‘Test’ (i.e. the product string value) and ‘#2’ and ‘#3’ are added by the DAW itself. Is there any way to give each Interface instance a unique name, via product string or otherwise?
Edit
Perhaps multiple virutal cables is a better approach to achieve this, but that hasn’t been implemented in usb.device.midi. Does anyone know how to implement that?
Beta Was this translation helpful? Give feedback.
All reactions