General

Button sending different CC on/off help

Started by whatisvalis on .

Sign in or create an account to join the conversation.

4 posts

Topic starter
I'm working through the manual, but it's a slow process because I'm new to scripting so wondered if I could get some input from experienced users.

Is it possible to get the custom button object to send different CC messages for it's on and off state?

Cheers,

JD
so i got this to work using custom midi

Setting the controller to x?68:69

When the button is set to switch mode it's on state sends 68 and off sends 69

To make it work I also had to set the Value to x?68:69

If any one has a second could they explain how the value box works for a custom Midi CC? Why do these two fields need duplicating?

cheers,

JD
Controller is the CC#, value is the position of that controller.

If you want the button to send two different positions on the same CC#, for example if you want to switch between two different filter positions on an instrument, then you should set the controller field to the CC# you want and the value field to your expression.

If you want to send the same position but on two different CCs, then the value should get the constant number and the controller field should have the expression. This might be the case when controlling Traktor, midi lights, or the like.

The only case in which you'd need x?1:2 type expression in both fields is when you want to send two different positions on two different CCs.