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 » 02 Dec 2015 11:17

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 » 17 Dec 2015 10:37

BUMP

ndivuyo
Regular
Posts:279
Joined:23 May 2014 00:24

Re: Prevent button from triggering on external trigger

Post by ndivuyo » 17 Dec 2015 19:28

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 » 13 Jan 2016 12:40

Thank you very much!

KlangManipulation
Newbie
Posts:9
Joined:13 Jul 2016 12:16

Re: Prevent button from triggering on external trigger

Post by KlangManipulation » 11 Jul 2017 20:41

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