Page 1 of 2
how can i reverse the value of a fader
Posted: 09 Nov 2015 01:08
by digitalson
it goes down for up in the software and i want it to work like a normal fader
Re: how can i reverse the value of a fader
Posted: 09 Nov 2015 03:49
by Phil999
you will have to use a script to inverse the x value.
Sorry if I can't give you a better advice right now.
Re: how can i reverse the value of a fader
Posted: 09 Nov 2015 17:17
by MrCorba
Create an expression with a value of 1-x
Now you can map that new expression for a reversed x.
Re: how can i reverse the value of a fader
Posted: 12 Nov 2015 03:58
by digitalson
but what if i have x mapped already ,,,its x*800 its for a mouse position
Re: how can i reverse the value of a fader
Posted: 12 Nov 2015 10:26
by MrCorba
If your code now is x*800 then you change is to 800-(x*800) et voila, reversed.
Cheers
MrCorba
Re: how can i reverse the value of a fader
Posted: 13 Nov 2015 04:29
by ndivuyo
why not (1 - x) * 800?
So then you can do:
decl maxValue = 800;
blahblah = (1 - x) * maxValue;
Re: how can i reverse the value of a fader
Posted: 13 Nov 2015 09:14
by MrCorba
But now you can do:
decl maxValue = 800;
blahblah = maxValue-(x*maxValue);
Re: how can i reverse the value of a fader
Posted: 14 Nov 2015 22:22
by digitalson
that brings up another point,,,if i am using a fader to move the mouse position it seams that i only need the x value cause the mouse click is locked on the object i am controlling but i would like to use all the faders range, what it does is goes to 0 around 3/4 the way up well down with the x-1 ,but how can i reduce the mouse x value to make the position of the mouse to move the full distance of lemurs fader?,,,kinda tricky ,i am automating a fader that has no midi functions ,so what i did was found the position then single click to hold it then made position value x.
but it seams that x*600 seams to work the best ,but the y value doesnt need to be used cause it just goes up and down....like i said its a workaround to automate a non automatable function....thanks in advance.....
also the mouse position and click is a good function to fix the window focus problem in cubase ,cause key commands dont work if the mixer is not in focus as well as the project window,,,so u can just put a mouse click before the kc and boom no more clicking the window before using different kc,s
Re: how can i reverse the value of a fader
Posted: 16 Nov 2015 11:23
by MrCorba
I'm not sure if you're asking a question.....
If you are, could you formulate it a bit more clearly?
Re: how can i reverse the value of a fader
Posted: 17 Nov 2015 01:07
by digitalson
ok...i have the fader value as x*600 ,x is controlling the mouse position but not the full range of the fader,as well as being reversed