adapt midi code for Leonardo to the Uno

Hello,

I'd like to make this work: https://www.instructables.com/id/Arduino-MIDI-Chiptune-Synthesizer/

But I only have a Uno, not and Leonardo or Mini.

The code requires midiusb.h, which is only for the atmega chip found on Leonardo or midi. Do you think it would be possible to adapt it to hairless midi for a Uno?

Do you think it would be possible to adapt it to hairless midi for a Uno

Yes it should be.
Use the MIDI.h library, then adapt all the calls to the new syntax it uses. There is a one to one mapping of the calls but they have different names and some take the parameters in a different order.

ok, I'll probably try to get an Arduino Micro before, to see how it all works, and try to adapt this later.