[PD] linear -> log - what's the equation?

hard off hard.off at gmail.com
Thu Apr 5 13:47:31 CEST 2007


i have lots of sliders that use the log function, but i want to
convert them to liner so they will be compatible with my midi knobs.

how do i use the [log] object to convert a linear slider's output into
the same values as a similar logarithmic one?

for example:

linear slider min=0  max=100

log slider min=1 max=100

the minimum value of the log slider affects the output, so this has to
be part of the equation.




More information about the Pd-list mailing list