Page 1 of 1
Creating Traktor style modifiers in lemur
Posted: 25 Mar 2013 17:55
by tput73
Hi,
I'm sure this is possible but I'm still noobin out.
How could one create a switch(or menu)
that acts as a shift button on a hardware controller
i.e. if switch is A then custom button triggers loop on deck A(for example),
Is switch is B then same button triggers loop on deck B etc.
I have this currently mapped with custom buttons on switch
with a script to only allow one of four on at once,
Directly setting a modifier value(0,3)
But for some reason it randomly reverts to 0
So can I do this all from the lemur side?
T
Re: Creating Traktor style modifiers in lemur
Posted: 25 Mar 2013 22:43
by Macciza
Hi
with a script to only allow one of four on at once,
Maybe try switches in 'Radio' mode instead for the (0-3) values
Then it is pretty much just the logic you mapped out above as a script for your other button
ie if radioswitch is O ButtonA
if radioswitch is ButtonB etc
Re: Creating Traktor style modifiers in lemur
Posted: 25 Mar 2013 23:03
by Softcore
Hello there.....is the Traktor modifier returning to 0 due to a Traktor bug or is it a by-product of your Lemur scripting?
If its the second case, follow Macciza's advice - you dont need scripting to only allow one on at a time.....
If its a case of Traktor bug probably you need some scripting for the controls which you want them to have shift" functions.....
For example
on expression x of a "multi-functioning" object, any
Code: Select all
if (SwitchA.x==0) ctlout(target, CCnumber, value, midichannel);
if (SwitchA.x==1) ctlout(target, CCnumber, value, midichannel(;
and so on.....In the above example SwitchA will act as one of the modifiers and obviously you will be using the control's x as a value but on different CCnumber (or midi channel) for each case!
This will "kill" bidirectional communication though, so perhaps its best to try to eliminate your first problem which is Traktor's modifier returning to 0 without being desired.
Re: Creating Traktor style modifiers in lemur
Posted: 25 Mar 2013 23:29
by Macciza
Also have you looked through the numerous Traktor projects in the Library?
Someone has probably already done what you are after, many times . . .
Re: Creating Traktor style modifiers in lemur
Posted: 25 Mar 2013 23:53
by tput73
Yo.
Switches in radio mode work perfectly!
Thanks everybody
T