Seemingly simple toggle button

Discuss Lemur and share techniques.
Post Reply
j5k
Newbie
Posts: 15
Joined: 09 Dec 2011 16:01

Seemingly simple toggle button

Post by j5k »

I've run into this over and over and have never quite figured out how I'm supposed to handle it. I'm working with traktor. Alot of traktor's buttons are toggles. What I want is the custom button in lemur to toggle a given traktor button, and have the button accurately reflect the traktor button's state.

Ideally I'd like to just drop a button on a page, assign it a cc, then wire up that cc as input AND output for a button in Traktor and just have it work. Having tried that and failed, I feel like the only way to make it work is using scripts, separate cc's (maybe?) and then sending ctlout manually.
kryptonitejesus
Newbie
Posts: 12
Joined: 02 Jan 2012 02:55

Re: Seemingly simple toggle button

Post by kryptonitejesus »

I've been kind of wondering the same and I'm thinking it's an easy fix, but I'm eagerly awaiting an answer also.
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Seemingly simple toggle button

Post by Macciza »

Hi

There are at half a dozen Traktor templates in the User Library - have you checked them out yet . . .

I think having a look at them will probably give you a number of possible solutions . . .

Cheers
MM
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]
kryptonitejesus
Newbie
Posts: 12
Joined: 02 Jan 2012 02:55

Re: Seemingly simple toggle button

Post by kryptonitejesus »

Macciza wrote:Hi

There are at half a dozen Traktor templates in the User Library - have you checked them out yet . . .

I think having a look at them will probably give you a number of possible solutions . . .

Cheers
MM
Good call, I'll check a premade template to figure it out myself, don't really need it for Traktor but the purpose is served the same!
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Seemingly simple toggle button

Post by Macciza »

Hi
This may help as well http://liine.net/forum/viewtopic.php?f=24&t=903
Add Traktor control via an On MIDI script if reverse control needed . .

Cheers
MM

PS>Dissecting existing projects is a great way to learn al sorts of weird and wonderful things
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]
j5k
Newbie
Posts: 15
Joined: 09 Dec 2011 16:01

Re: Seemingly simple toggle button

Post by j5k »

So the general concensus then is that in order to do this, scripting is required? I'll dig into some of the existing templates if I get some free time today.
jaredfmylife
Newbie
Posts: 3
Joined: 09 Dec 2011 20:55

Re: Seemingly simple toggle button

Post by jaredfmylife »

Was anyone able to figure this out? I've been loading tons of templates trying to figure it out and having no luck.
j5k
Newbie
Posts: 15
Joined: 09 Dec 2011 16:01

Re: Seemingly simple toggle button

Post by j5k »

I think I've found the solution, and it is indeed doable without scripting.

The trick is to do two things:

In the Lemur editor, you need to have your custom button's capture behavior UN-checked, and mode set to 'switch'.

In Traktor, you need to have the mode set to 'hold' for that particular button.

I still haven't wrapped my head around why this works but I'll take it if it means not having to script every button :)
Post Reply