Skip to content

distinct CC# mapping table if tabindex= #541

Answered by dnaldoog
thethirdapple asked this question in Q&A
Discussion options

You must be logged in to vote

I've just very quickly knocked this one together. So not fully tested!

In this panel there is no cutoff 12 but the panel doesn't crash. There are also single controls bankselect and volume so you can now do CC mapping for single controls as well as multiple controls with the same name in each tab, although as I said there is no cutoff 12 in tab 11. If the table key multi is set to false the table key q is never accessed, but I just default it to 1.

If you have a record in mapping but no corresponding Ctrlr object, the panel will crash.

myMidiReceived = function(--[[ CtrlrMidiMessage --]] midi)
    local currentTab = tonumber(_c.MYBIGTAB:getProperty("uiTabsCurrentTab") + 1) -- tabs start a…

Replies: 7 comments 28 replies

Comment options

You must be logged in to vote
5 replies
@thethirdapple
Comment options

@dnaldoog
Comment options

@thethirdapple
Comment options

@thethirdapple
Comment options

@thethirdapple
Comment options

Comment options

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

@dnaldoog
Comment options

@thethirdapple
Comment options

@dnaldoog
Comment options

@thethirdapple
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

You must be logged in to vote
5 replies
@thethirdapple
Comment options

@thethirdapple
Comment options

@thethirdapple
Comment options

@dnaldoog
Comment options

@thethirdapple
Comment options

Answer selected by thethirdapple
Comment options

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

Comment options

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

@dnaldoog
Comment options

@thethirdapple
Comment options

@dobo365
Comment options

@thethirdapple
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
4 participants