Created methods to handle output to MIDI