Page 1 of 1
how to send two control change with one button?
Posted: 07 Jan 2014 18:32
by raysperanza
HI guys. Anyone know how to send two control change with one button..???
thanks
Re: how to send two control change with one button?
Posted: 07 Jan 2014 21:12
by Softcore
Three ways....
1st way.custom expression
desktop editor -> select your button -> click on "x=?" button. Name it, for example k. In the one line script that appears type x so that x=k. Map k by selecting it as you would do with x.
(this way the two messages will always be both on or off)
If you want the two messages to be diverted then make k=1-x
2nd way. custom midi message
desktop editor -> select your button -> click on the "create custom midi" button (it shows a midi plug) -> name it, for example k. In the mapping properties type "x" in the "trigger field - type 1-x if you want the two messages inverted
3rd way. scripting
desktop editor -> select your button -> click on "script" button -> set "on expression", "x", "any"
In the script editor type
ctlout(trgt, ctl, val, chan)
where trgt = desired Lemur traget
ctl = desired CC number
val = desired value - floor(x*127) to have the value follow x, floor((1-x)*127) for inverted
chan = the desired midi channel
Re: how to send two control change with one button?
Posted: 31 Jan 2014 02:35
by raysperanza
thank you very much!