I fixed the x-box up a bit, mending all the broken parts. Removed the falling apart pads.

And finally got some code that works well enough for my kid – not perfect yet.

The original code I wanted to use and the one that helped me work out mine is this

https://github.com/evankale/ArduinoMidiDrums

but when working on it I found out he stops the midi note right after sending it. which is ok if you play a game on the computer, which is what that code is meant for, but not so great when you actually want to play the midi note.

You can download the code in the attached file - note there are 4.

I also added a real cool feature that allows you to choose the note for each keypad, it even saves the settings in the EEPROM.

and the 3 software I mention in the video are loopbe1, hairless midi serial bridge and VMPK

The Next big step is to move it to work on a raspberry pi.