Hi,
I usually do this by multiplying the value by -1 and offset it by the range of the first value (see attached patch). Hope that helps! 
Cheers!

 
Hrvoje Radnic
http://soundcloud.com/sumovi-protiv-valova
00385(0)915225162



From: "Pagano, Patrick" <patrick.pagano@uconn.edu>
To: pd list <pd-list@iem.at>
Sent: Tuesday, August 29, 2017 12:25 AM
Subject: [PD] a simple question about increasing/decreasing values


hello

is there a function/abs whatever that increases one val while reciprocally reduces another?

What i mean is say i have a Wet Value 1 to 100 is there something simple that as i raise that value it will reduce say Dry from 100 to 1 in unison?

I know i am just forgetting what it is 

thanks in advance for any help

Patrick
 

Patrick Pagano B.S, M.F.A
Assistant Professor in Residence
Digital Media & Design
Web & Interactive Technologies
University of Connecticut, Stamford
(352)-226-2016
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list