General

Making a Multi Row/Column Switch 1 CC

Started by indijinouz on .

Sign in or create an account to join the conversation.

4 posts

Topic starter
Hey, how do I make a Multi-Row/Column SWITCH set to PAINT and RADIO act as a control for just 1 CC? If I set the range to only 1CC it doesn't act as expected. I don't want to do this with a multi slider I want to do this with a switch using the radio option so that however many rows and columns I have, it'll divide the amount that's being sent appropriately.
Create a custom expression, lets say...."out"

Map out to your desired midi message (CC, note on whatever).
Tick the "scale" button - leave the defalut values 0 and 127 for the scale.

Make it so

out= firstof(x) / (n-1)

Where n = amount of switches = columns * rows.

So for example for a 16 columns * 4 rows
out = firstof(x)/63
_________________________________

alternatively:

Do NOT tick the "scale" option for value "out"

Make it so:

out = round((firstof(x)/(n-1))*127)

So for example for a 16 columns * 4 rows
out = round((firstof(x)/63)*127)

Both examples should work! Let me know how it went! ;)
It worked!!! thaaaank you!!! I used the first one. okay so one more question, sorrry:p

Each button group is a 4x4, and now I just need to simplay make the controls start not from the top left and on. I need them to start from thr bottom left and go across then up, across, and so on like a stamdard drum machine layout. Is this a simple a task?