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
<!--#yiv8424257227 P {margin-top:0;margin-bottom:0;}-->
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.AAssistant Professor in ResidenceDigital Media & Design Web & Interactive TechnologiesUniversity of Connecticut, Stamford(352)-226-2016_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list