Need help to write a MIDI message.