I am not sure what you are doing but if you have an Arduino Micro (https://store.arduino.cc/usa/arduino-micro) or any board using the 32u4 microcontroller, you do not need to hack a USB MIDI converter.
The 32u4 has a native USB controller. Use the Arduino MIDI USB library to send and receive MIDI over USB.