Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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.

Posted
- 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...