How to Make Arduino Be Recognized as a MIDI Device

Hi, I'm working on a project that uses an Arduino as a usb midi controller. I am using an Arduino Uno with Hoodloader2, which allows me to program the ATmega328 and the 16u2 separately, and to use the Uno board as a USB device.

I have succeeded in getting my computer to talk to the chips over a Serial connection, I am now trying to incorporate midi using the MIDIUSB library on the 16u2. The problem is that the Arduino is not recognized as a midi device by my computer.

What can you recommend for getting my Arduino to be recognized as a midi device? Preferably this would be something I could program on the chip, rather than a serial to midi converter program on the computer. Something similar to TeensyMidi would be ideal.

Any suggestion are much appreciated. Thanks!

Buy a Teensy.

It may be possible with a Micro or Due, but I know it works with a Teensy.

I have reasons to be using an Uno in this design. I've done midi on a Teensy before, but I need to use an Uno this time.

Well first, have you done any calculation to see if MIDIUSB will fit on the 16U2?

What about Moco for LUFA MOCO