Transfer Sysex Dumps using inbuilt CtrlrX function #749
dnaldoog
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How to process Bulk Midi messages
In version 5.6.35 there will be a way to send MIDI via a modulator or component Property.
This code has always been in Ctrlr but was incomplete.
Example - SEND
panel:getModulatorValuesAsData(CUSTINDEX, CtrlrPanel.EncodeNormal, 1, false) -- non mapped
panel:getModulatorValuesAsData(CUSTINDEX, CtrlrPanel.EncodeNormal, 1, true) --mapped
panel:getModulatorValuesAsData(CUSTINDEX, CtrlrPanel.EncodeNibbleLsbFirst, 1, true) --lsb/msb two byte 4 bit nibble
Example - RECEIVE (Where Header is 5 bytes in length)
panel:setModulatorValuesFromData(midi:getData(), "modulatorCustomIndex", CtrlrPanel.EncodeMSBFirst,-5, 2, false)
panel:setModulatorValuesFromData(midi:getData(), "modulatorCustomIndex", CtrlrPanel.EncodeNormal,-5, 1, false)
panel:setModulatorValuesFromData(midi:getData(), "modulatorCustomIndex", CtrlrPanel.EncodeSignedNibbleMsbFirst, -54, 2, false)
(1) Create table of modulators in sysex dump order
List all modulators here in order of sysex message data position
(2) Fill
modulatorCustomIndexwith values(2) Remove custom index (UNDO)
(3) Send the bulk MIDI message.
Create a (GLOBAL) header string and an EOX string
(4) Receive a MIDI message
Create a method in Called when a panel receives a MIDI message
headerSize = headerSize*-1truereads/writes mapped valuesExample Panel
Beta Was this translation helpful? Give feedback.
All reactions