midi 5x5 custom port names, hiding 6-16 ports?

Status
Not open for further replies.

Oddball

Active member
using a modified 3x3 sketch for 5 ports. the sketch works fine, but since midi 16x16 is selected I see 6-16 as inputs and outputs. is it possible to hide those on the sketch / hardware level? also is it possible to add custom port names? for example = YAMAHA_TX7 instead of MIDIIN1? and for clarity I am aware I can hide ports on some software on the computer, but not all programs I have can do that. Thanks folks!

code

https://github.com/OddballNo3/Midi-boards/tree/master/MIDITeensy4.0/Firmware/interface_5x5
 
Without editing the core files you can’t, but if you don’t mind doing that then yes you can, for the number of ports you just have to change one define for the usb type you are using. Here’s the link for the USBMIDI_16 define location: https://github.com/PaulStoffregen/c...dadf2f328a4a95b735731/teensy4/usb_desc.h#L476

As for the custom port names it’s a little more involved and I did it a long time ago so it’s not up to date, but if you want an idea you can look through the files here: https://forum.pjrc.com/threads/50043-Configurable-usbMIDI-Port-Names
 
replaced 16 with 5 on # of cables, and I still see the other 11 ports. tried reboots, reloads and replugging, still there.. any more thoughts?
 
First off make sure you are changing it for the same usb type you using, second off the device will be cached in your operating system so since it was first recognized as a 16 port device it won’t change it until you delete the device just like you have to do when you do a name change.
 
There are 2 copies of that file, one for Teensy 4.x, the other for Teensy 3.x. Maybe you edited the wrong file? (from these messages, I can't even tell which Teensy you're using...)

The file for Teensy 4.x has 2 complete copies of the configuration descriptor, one for 480 MBit speed and the other for 12 MBit speed. If you edit that file, make sure you get both.
 
Maybe you edited the wrong file? (from these messages, I can't even tell which Teensy you're using...)

oops.. yeah, I realized that last night afterwards.. its a 4.0 and I only edited one file.. I'll edit the other, delete the device, and report back :)
 
yup was changing the file in the teensy3 folder.. change the right figure and it works as described. Thanks guys!
 
Status
Not open for further replies.
Back
Top