MIDI Note On foot pedal

I've built something similar to this. Some info here:

... although there's very little technical detail in the blog post. If you want to see some code, let me know. It's based on an Uno, BTW.