MIDI input circuit
The diode next to the MIDI plug is present to prevent circuit damage if the MIDI input is plugged into a MIDI output port.