added windows MIDI compatibility