Hanging CC when controlling one fader with another

Discuss problems and solutions.

Hanging CC when controlling one fader with another

Postby hocuspocus » 22 Oct 2017 01:32

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 157 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!
Attachments
linking two faders.jzml
(4.63 KiB) Downloaded 8 times
hocuspocus
Newbie
 
Posts: 4
Joined: 22 Oct 2017 01:01

Re: Hanging CC when controlling one fader with another

Postby hocuspocus » 22 Oct 2017 19:47

Anybody out there?
hocuspocus
Newbie
 
Posts: 4
Joined: 22 Oct 2017 01:01

Re: Hanging CC when controlling one fader with another

Postby hocuspocus » 22 Oct 2017 20:36

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!
hocuspocus
Newbie
 
Posts: 4
Joined: 22 Oct 2017 01:01


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 4 guests

cron