Just a thought. If you want a GOOD MIDI, you have to ensure that your software inserts appropriate initialisation (SYSEX and control setting) sequences into the file. Many MIDI programs do not do this, with the result that the equipment may remain incorrectly set up from a previous file.
HARMONY always adds a full set of initialisations as used in professional MIDI files.