format of midi messages

Thanks got it working now!!