Forums > MaxMSP

convert a + range to a + – range?

June 30, 2008 | 1:22 pm

I have 8 values I want to send into a multislider.

The multislider is setup like an EQ, e.g. with + and – ranges and 0 in the middle.

Is there some simple math I can do to my incoming values to convert them to a – + range? I could do some fancy patching but I think this is probably just basic arithmatic… however, I missed that class.

Thanks!


June 30, 2008 | 1:31 pm

#P window setfont "Sans Serif" 9.;
#P number 113 179 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 113 123 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 113 150 98 196617 scale 0 128 -50 50;
#P connect 0 0 2 0;
#P connect 1 0 0 0;
#P window clipboard copycount 3;


Viewing 2 posts - 1 through 2 (of 2 total)