Forums > MaxMSP

Reversing lin-to-log patch

Feb 26 2012 | 5:42 pm

Hi all,

I was lucky enough to find this incredibly useful little patch which applies an exponential curve to linear steams of values from dials, etc:

-- Pasted Max Patch, click to expand. --

What I need to do now is reverse this process; I’ve trawled the web quite a bit and can’t seem to find anything which does exactly what I need.
As far as I can see, the maths used here (where x is the linear data & y is the logarithmic equivalent) is:
I’ve tried rearranging this in all sorts of ways to make x the subject but have to admit that my maths isn’t all that great these days, so any light anyone would be willing to shed on this would be much appreciated.


Feb 26 2012 | 11:48 pm

Try the [scale] object:

[scale 0 127 0 127 1.06] logarithmic up
[scale 0 127 127 0 1.06] logarithmic down

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

Forums > MaxMSP