Page 1 of 1

How to switch tabs in Live via CC?

Posted: 20 Jan 2016 14:25
by xh9o
This 100% newbie, but I can't figure out how to use a lemur switch for tabs in Ableton Live. I've set them to radio mode, but does not output the one selected position as cc value. Can I solve this with editing the value field? Or does it require scripting?

Re: How to switch tabs in Live via CC?

Posted: 20 Jan 2016 23:28
by xh9o
No body? In TouchOSC there is the option of scaling particular switch values (like sending a value "33" for "cc 5" when the second switch-value of four is selected). Is something like this possible in Lemur?

Re: How to switch tabs in Live via CC?

Posted: 21 Jan 2016 10:27
by MrCorba
That's very easy to do with scripting. Create an On Expression script set to x, then use the ctlout(target,ctrl,val,chan); to send out the midi. Then use the switch to calculate the value.

For example:

Code: Select all

decl baseValue = 127 / sizeof(Switches.x); //The value for each switch
decl value = baseValue * (firstof(Switches.x) + 1); //The value of the current pressed switch
ctlout(0,5,value,0); //The midi sent out to Target 0, CC number 5, and channel 0
I can't test it at the moment but this should work.

Cheers

Re: How to switch tabs in Live via CC?

Posted: 23 Jan 2016 18:27
by xh9o
Thanks!