inversely proportional sum - should've payed attention in maths!

Tom Haig's icon

hey,
just wondering if anyone could please help me out. I'm trying to make the values of 2 sliders inversely proportional, so they effectively show the opposite to one another, and cross over when they pass the centre. I'm using 2 usliders, with the standard settings (range 128, no multiplyers). One is to be the master slider, the other the slave. Just wondering how to go about achieving this mathematically?
I'd appreciate your help very much!
thanks!
tom

vade's icon
Max Patch
Copy patch and select New From Clipboard in Max.

v a d e //

www.vade.info
abstrakt.vade.info

On Sep 20, 2006, at 9:53 PM, register wrote:

>
> hey,
> just wondering if anyone could please help me out. I'm trying to
> make the values of 2 sliders inversely proportional, so they
> effectively show the opposite to one another, and cross over when
> they pass the centre. I'm using 2 usliders, with the standard
> settings (range 128, no multiplyers). One is to be the master
> slider, the other the slave. Just wondering how to go about
> achieving this mathematically?
> I'd appreciate your help very much!
> thanks!
> tom

Tom Haig's icon

excellent!
thank you so much!
tom