Extension of midicomp/midi2text to convert between MIDI and ASCII text format