Skip to content

Is it possible to use the input to control the uiMidiKeyboard? Or to rechannel the MIDI input notes? #669

Answered by dervur
dervur asked this question in Q&A
Discussion options

You must be logged in to vote

Ok I solved it this way. I have a button to control if the input should be re-channeled, with a method when it changes the status that activates the midi thru input to output if the button is off and viceversa it deactivates it if the button is on.

rechannelMidiButton = function(--[[ CtrlrModulator --]] mod, --[[ number --]] value, --[[ number --]] source)

    local rechannelInput = mod:getValue()

    if rechannelInput == 1 then
        panel:setProperty("panelMidiThruD2D",0,false)
    else
        panel:setProperty("panelMidiThruD2D",1,false)
    end

end

And then I have the following method whenever I receive a MIDI input on the panel

rechannelMidiNotes = function(--[[ CtrlrMidiMessa…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@damiensellier
Comment options

@dervur
Comment options

@damiensellier
Comment options

@dervur
Comment options

@dervur
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by dervur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants