Creating Traktor style modifiers in lemur

Discuss Lemur and share techniques.
Post Reply
tput73
Newbie
Posts: 25
Joined: 11 Mar 2013 13:11

Creating Traktor style modifiers in lemur

Post 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
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Creating Traktor style modifiers in lemur

Post 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
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: Creating Traktor style modifiers in lemur

Post 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.

;)
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Creating Traktor style modifiers in lemur

Post 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 . . .
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
tput73
Newbie
Posts: 25
Joined: 11 Mar 2013 13:11

Re: Creating Traktor style modifiers in lemur

Post by tput73 »

Yo.

Switches in radio mode work perfectly!
Thanks everybody
T
Post Reply