Skip to content

Roland multi-byte sysex #140

Discussion options

You must be logged in to vote

Hi @ConditionalInstability

I think you are right! MS LS and ms ls work, but r1 - r4 don't.

You need lua. It's a bit complex because it seems the panel still updates the component (uiSlider) to 0 after incoming MIDI so I used a timer to update the uiSlider with the incoming value few milliseconds later.

The code for updating the uiSlider

midiReceived = function(--[[ CtrlrMidiMessage --]] midi)
    local s = midi:getSize()
    if s == 18 then
        sum=0 -- initialize variable
        panel:setPropertyInt("panelMidiPauseOut", 1) -- don't let MIDI be sent
        if midi:getData():getByte(6) == 0x65 then -- this byte can indicate which modulator to change
            local r1 = midi:getDat…

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@ConditionalInstability
Comment options

Comment options

You must be logged in to vote
3 replies
@ConditionalInstability
Comment options

@ConditionalInstability
Comment options

@dnaldoog
Comment options

Answer selected by ConditionalInstability
Comment options

You must be logged in to vote
3 replies
@dnaldoog
Comment options

@dnaldoog
Comment options

@ConditionalInstability
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants