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?
XY to fader
-
23fx23
- Member
- Posts: 2548
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
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
- nay-seven
- Site Admin
- Posts: 5684
- Location: rennes France
- Contact:
Well done 23fx, works fine !
-
r.erorr
- Member
- Posts: 405
- Location: Latvia
- Contact:
yea!
thanks fore math. . . great
thanks fore math. . . great
