using Arduino MIDI Library 4

http://playground.arduino.cc/Main/MIDILibrary