Jump to content

MIDI Port Names


sebseb7
 Share

Recommended Posts

Hi,

 

libportmidi shows the port-names as: 

 

found in device 'Midi Through Port-0' with interf 'ALSA'
found out device 'Midi Through Port-0' with interf 'ALSA'
 
while OSX shows them as: 
 
found in device 'USB-MIDI-Gerät' with interf 'CoreMIDI'
found out device 'USB-MIDI-Gerät' with interf 'CoreMIDI'
 
How can I customize the Port names ?
 
I have a KORG NanoKontroll and it has custom (and consistent) port names on Linux and OSX. 

 

 

thank you!

Sebastian

Link to comment
Share on other sites

The KORG nanokontroll probably has drivers which take care of this.

 

CoreMIDI and ALSA sound like names from the build in drivers from the OS. So not sure how you would fix this. Maybe with some kexts and kernel driver hacking. But that seems like a lot of trouble to me.

Link to comment
Share on other sites

got it working:

 

 

- you have to use "#define USB_SUPPORT_USER_STRING_DESC" in the stm32f4 usb driver

- set string indexes in the jack definition correctly

- and implement the "GetUsrStrDescriptor" callback.

 

now I have consistent and custom device names for each midi jack.

Link to comment
Share on other sites

- set string indexes in the jack definition correctly

- and implement the "GetUsrStrDescriptor" callback.

 

You are a champ!  :rofl:

Could you please elaborate what you've changed exactly?

 

Best Regards, Thorsten.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...