Moved the MIDI in stuff into the interrupt.