Prevent button from triggering on external trigger

Discuss Lemur and share techniques.
Post Reply
shinz
Newbie
Posts: 6
Joined: 18 Nov 2015 16:00

Prevent button from triggering on external trigger

Post 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
shinz
Newbie
Posts: 6
Joined: 18 Nov 2015 16:00

Re: Prevent button from triggering on external trigger

Post by shinz »

BUMP
ndivuyo
Regular
Posts: 278
Joined: 23 May 2014 00:24

Re: Prevent button from triggering on external trigger

Post 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.
shinz
Newbie
Posts: 6
Joined: 18 Nov 2015 16:00

Re: Prevent button from triggering on external trigger

Post by shinz »

Thank you very much!
KlangManipulation
Newbie
Posts: 8
Joined: 13 Jul 2016 12:16

Re: Prevent button from triggering on external trigger

Post 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
Musik ist Macht, also macht Musik! (Music is a Force, Use it!)

http://www.klangmanipulation.de
Post Reply