simplify asMidiMessage