Making a Multi Row/Column Switch 1 CC

Discuss Lemur and share techniques.
Post Reply
indijinouz
Newbie
Posts:26
Joined:17 Jul 2014 05:13
Making a Multi Row/Column Switch 1 CC

Post by indijinouz » 21 May 2015 20:40

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.

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: Making a Multi Row/Column Switch 1 CC

Post by Softcore » 22 May 2015 20:51

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! ;)

indijinouz
Newbie
Posts:26
Joined:17 Jul 2014 05:13

Re: Making a Multi Row/Column Switch 1 CC

Post by indijinouz » 23 May 2015 04:39

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?

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: Making a Multi Row/Column Switch 1 CC

Post by Softcore » 23 May 2015 10:57

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?

Post Reply