Page 1 of 1
Posted: 29 May 2013, 22:40
by r.erorr
I try to control fader with XY pad. If center of XY is 0% than any border is 100%, respectively center = fader min and border = fader max.
any ideas how to do that?
Posted: 29 May 2013, 23:10
by 23fx23
mm think you could use math to remap 0..1 range to -1..1 range for booth X and Y (or rescale patch) (or by multipling by 2 and subtract 1) then use a MAX(AB) with booth XY going to A and B, but just before going to the max you add abs (absolute) math module
ie X 0.1 becomes X -1..1 ---> abs = center will be 0, up or down will be going to 1 when reaching border.
same for Y, then the MAX(AB) will take the most important value in acount btwn new XandY
Posted: 29 May 2013, 23:22
by nay-seven
Well done 23fx, works fine !
Posted: 29 May 2013, 23:30
by r.erorr
yea!
thanks fore math. . . great
Posted: 30 May 2013, 00:25
by 23fx23
ur welcome

Posted: 30 May 2013, 07:54
by joffo78
yes well done but what is the advantage of having a 2 parameters controler and reduce it for one ?