Troubleshooting

Hanging CC when controlling one fader with another

Started by hocuspocus on .

Sign in or create an account to join the conversation.

3 posts

Topic starter
Hi everyone!

So this is indeed my first post. Yay!

I am a new Lemur user and just managed to link two faders where one fader slowly goes up and down with respect to the position of a 2nd fader, but irrespective of its speed. But what I noticed on Cubase is that the fader does not stop sending the value when it comes to rest. Here is a snapshot of how it looks on cubase even when the Lemur fader has come to rest-
Lemur_hanging CC.jpg

The track monitor shows that midi is still coming in. And you can see how the stuck CC gets recorded on the 1st track as opposed to the 2nd track for which i am using a hardware controller. Have also attached am example below.

Can someone help out here? How can I get rid of this hanging?

Thanks!

linking two faders.jzml
ah figured it out! added a Switches object and this script for follow() -

if(Switches.x == 0) return; else

if(Switches.x == 1){
(!z) ;
decl i,obj,c;
for (i=1;i<8;i++){
obj='Fader'+i;
c=getexpression(findobject(obj),'x');
if (c<x) setexpression(findobject(obj),'x',c+0.001);
else setexpression(findobject(obj),'x',c-0.001);
}}

This is very similar to the lagging fader, but with the switch off the fader will continue following the 2nd fader without the Go switch, like in lagging fader.

Cheers!