Home › Forums › General › Using Ctrlr › Can I copy all the faders from one tab to another without copying all the tabs? › Reply To: Can I copy all the faders from one tab to another without copying all the tabs?
September 22, 2017 at 1:54 am
#73016
Maybe something like this to split large values greater than 127 into more than one byte?
function Add462(mod,value,source)
if value > 511 then
MSB=0x03
LSB=value -512
elseif value > 255 then
MSB=0x02
LSB=value -256
elseif value > 127 then
MSB=0x01
LSB=value -128
elseif value < 128 then
MSB=0x00
LSB=value
end
panel:sendMidiMessageNow(CtrlrMidiMessage(
{0xf0, 0x06, 0x00, ???, ???, MSB,LSB,0xF7}))
end