How to make a sysex message? [SOLVED]


#1

MidiMessage m = MidiMessage::createSysExMessage( ***how do i format it****);

im trying to send sysex messages to a controller

i want to send 0xf0, 0x47, 0x00, 0x73, 0x60, 0x00, 0x04, 0x42, 0x08, 0x04, 0x01, 0xf7

Thank you very much

 

SOLUTION

So after searching and searching i could solve it with uint8


uint8 sysexdata[10] = { 0x47, 0x00, 0x7B, 0x60, 0x00, 0x04, 0x41, 0x08, 0x04, 0x01 };
MidiMessage mensaje = MidiMessage::createSysExMessage(sysexdata2, 4);
 

This one is static but you can modify as a variable