RtMIDI formula