Page 1 of 1

Prevent button from triggering on external trigger

Posted: 02 Dec 2015 11:17
by shinz
Hi,

I'm using Lemur since some days and I'm a big fan. But I have a problem in combination with Cubase. The cool thing is that Cubase also can send out a trigger to Lemur when you press the mute button of a track for example so that Lemur can follow the status of your DAW in a way. The problem is that when Cubase sends out that trigger, it's not just changing the buttons status...the button is triggering the daw again when the status is changed. So I press the mute button in Cubase, the button changes it status and is unmuting the track again.

Is there a solution for that?

Best
Stephan

Re: Prevent button from triggering on external trigger

Posted: 17 Dec 2015 10:37
by shinz
BUMP

Re: Prevent button from triggering on external trigger

Posted: 17 Dec 2015 19:28
by ndivuyo
Yea you want to add a script to prevent midi feedback.

Often times (depending on what object you are t=using) the 'z' expression is good for this. If z is equal to '1', that means that you are physically pressing down on the object. Therefore writing a script with this condition will prevent feedback.
I don't know the best way to do this for your project, but I like to use ctlout() (or a custom midi expression) with this condition:

Prevent 'x' from being ent to cubase by default. And then have a script execute on expression x:

if (z == 1) {
ctlout(arguments);
}

This way when the button x value is changed, but z does not equal 1 (meaning you are not pressing it down), then the value is not sent to cubase and no conflicts.

Re: Prevent button from triggering on external trigger

Posted: 13 Jan 2016 12:40
by shinz
Thank you very much!

Re: Prevent button from triggering on external trigger

Posted: 11 Jul 2017 20:41
by KlangManipulation
hi, i am lookin for the same thing but i dont understand how to do it.
i want to use the standart "switches" but how can i prevent feedback?
is there an example or can somebody do one?
best regards, ralph

EDIT: i got it now... see my post: https://forum.liine.net/viewtopic.php?f=25&t=5913