I am using an Arduino Micro in combination with the MIDIUSB library and everything is working fine so far, I am reading a few encoders connected via a 8574 and output the values over USB as MIDI control data.
Now my question is how can I change the name of the MIDI device that appears in the computer? The USB MIDI device appears as "Arduino Micro" when connected to a MacOSX computer and I'd like to change that name. Since I'll be creating multiple devices it would help greatly to be able to discern the devices.
What I tried already is creating my own entry in the "boards.txt" file by copying over the existing entry for the micro and changing the "micro.build.usb_product" name but that didn't seem to be picked up. The MIDI device is still recognized as "Arduino Micro".
Grumpy_Mike:
If you are using a Uno then you can't change the name. That is fixed deep inside the boot loader/ driver code.
Thanks for the reply.
As said I am using a Micro, afaik it uses its main chip for the USB part doesn't it? I started using the Micro because it (like the Leonardo) was the first to support MIDI/HID before Arduino 1.6
Grumpy_Mike:
Sorry the Micro is just a poor name for a model of Arduino because any Arduino is a microcomputer which shortens to a micro.
Same problem though, unless you want to fish about in the depth of the HID library's code.
Okay so I guess my best bet is to make a copy of the hardware folder in the local libraries and change the name in the core code.. Hmph, I hoped the whole "Pluggable USB" stuff would make that easier.
I didn't investigate much further yet but I guess its down to just doing a String search across all files in the hardware folder for "Arduino Micro" and replacing the string..
I did a little more digging, you need to recompile the arduino bootloader hex file. The file that needs modifying before compiling is apparently:
/bootloaders/caterina/Descriptors.c
or whatever the equivelent file is in you version of the IDE. Not tried this yet but i plan to give it a go next week.
Does anyone here found out how to change the MIDI device's name?
I found at a couple of places to create a new board, so I did, and I see it and I can compile my Arduino code, but still have no luck to have another MIDI device name.
thanks musinou, I tried following your instructions with only partial success. The name is changed in system report, however it shows up as "usb midi device" in audio midi setup and midi monitor. I'm on a mac with yosemite. Did I miss a step?