Page 1 of 1

Making a Multi Row/Column Switch 1 CC

Posted: 21 May 2015 20:40
by indijinouz
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.

Re: Making a Multi Row/Column Switch 1 CC

Posted: 22 May 2015 20:51
by Softcore
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

Code: Select all

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

Code: Select all

out = round((firstof(x)/63)*127)

Both examples should work! Let me know how it went! ;)

Re: Making a Multi Row/Column Switch 1 CC

Posted: 23 May 2015 04:39
by indijinouz
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?

Re: Making a Multi Row/Column Switch 1 CC

Posted: 23 May 2015 10:57
by Softcore
Ouch! yeah of course possible but two questions:

1.Specifically how many switches? Oh just saw that....4x4 ok
2. Did I get things right? Bottom left, move to right, then second from bottom left move to right, and so on and so on?