Implemented osx MIDI Driver function