[PD] log function in slider

Roman Haefeli reduzent at gmail.com
Wed Mar 12 08:38:20 CET 2014


On Don, 2014-03-06 at 21:37 -0300, Alexandre Torres Porres wrote:
> hi folks, out of curiosity, what's the exact log function used in the
> slider? I'd like to emulate it.

I am not sure, if this is what you want. It converts the incoming linear
range between 0 and 1 to a logarithmic range specified by $1 and $2,
respectively by the second and third inlet. They behave like the lower
and upper bound specified in the [vslider]/[hslider] classes. 

https://raw.github.com/reduzent/netpd2-patches/master/abs/rh_scalelog.pd


Roman






More information about the Pd-list mailing list