Display MIDI data via USB host shield

I'm trying to connect an Oxygen 49 MIDI USB keyboard to my arduino USB host shield. So far, the serial monitor registers when an action is performed on the keyboard but the message is indecipherable.

I've been using the sketch "USB_MIDI_converter" from the "USB_Host_Shield_2.0-master" library and what I need is to display the MIDI data in a way that it can be interpreted, i.e binary, hex or decimal.

The only information I need are the Note on/off status byte and the 2nd (pitch) and 3rd (velocity) data bytes

The sketch is attached to this topic. Thankful for any help!

USB_MIDI_converter.ino (1.67 KB)