MidiSystem implemented partially. (not tested)