modified SendMessage to be SendMidiMessage, to avoid conflict on Windows and allow generation of interfaces there