I managed to get a working script using this thread.
Where I am at now, I there are parts of the sysex that require two separate bytes to update one parameter.
Here is a example of the message.
F0 41 10 00 00 00 7B 12 19 42 20 00 00 00 00 01 = first part of sysex
01 03 = "01" ms and "03" ls "These two bytes correspond to a 255 byte parameter."
00 0A = "00" ms and "0A" ls "These two bytes correspond to a 2nd 255 byte parameter."
and so on and so on
00 05 00 0B 00 00 02 04 03 02 00 00 00
20 00 00 00 00 00 15 F7
Here is the code that I am using. “Thanks to dasfaker
elseif ( midiMessage:getData():getByte(09) == 0x42) then
modulator18= midiMessage:getData():getByte(11)
panel:getModulatorByName("Patch_EFX_1"):setModulatorValue(modulator18, false, false, false)
My question is what kind of lua script do I need that will reference two separate bytes that will update a single parameter that has a range from 0-255?
-
This topic was modified 8 years, 4 months ago by memorysplice. Reason: Attribute credit to people helping