Page 1 of 1

Hanging CC when controlling one fader with another

Posted: 22 Oct 2017 01:32
by hocuspocus
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
Lemur_hanging CC.jpg (95.95 KiB) Viewed 1312 times
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!

Re: Hanging CC when controlling one fader with another

Posted: 22 Oct 2017 19:47
by hocuspocus
Anybody out there?

Re: Hanging CC when controlling one fader with another

Posted: 22 Oct 2017 20:36
by hocuspocus
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!