General

How to switch tabs in Live via CC?

Started by xh9o on .

Sign in or create an account to join the conversation.

4 posts

Topic starter
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?
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?
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:
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