Be sure to install the MIDI serial library mentioned in the source code.
* http://playground.arduino.cc/Main/MIDILibrary
The bidirectional_converter creates two MIDI ports which could be named better. Midi is the USB MIDI port. MIDI is the serial MIDI port. The goal is to copy MIDI messages from the MIDI USB port to the MIDI serial port and vice versa.