Forums > MaxMSP

v quick maths help

January 6, 2013 | 5:26 pm

Hi
this old Maxer continues to run into a brick wall. A brick wall called secondary level maths. Oh, when will I learn to SCALE it??

input = 0.01 to 1.
I
I
some expression
I
I
desired output = 100. to 1.

but 0.5 input should output 2., 0.25 = 4., and 0.1 = 10.

til next time :)

Brendan


January 6, 2013 | 5:40 pm

the first part’s easy-ish

y = x*100. but I can’t find the correct exponent or remember how to invert the output…


January 6, 2013 | 8:11 pm

simply expr 1./$f1


January 6, 2013 | 8:14 pm

Or, of course, !/ 1.


January 6, 2013 | 8:23 pm

Don’t ya hate it when the solution is THIS easy. Thanks Christopher.

Gut genannter n00bmeister


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