View Single Post
Old 06-05-2014, 08:52 PM   #58
SaulT
Human being with feelings
 
Join Date: Oct 2013
Location: Seattle, WA
Posts: 876
Default

This is the function that Argitoth is suggesting:

Code:
x = [0, 1]
y = (a*x-x)/(2*a*x-a-1)

range: a = [-1, 1]
a -> 1  log taper
a == 0  linear
a -> -1  reverse log taper
I have an alternative. It is slightly faster to execute but a little harder to dial in precisely.

Code:
x = [0, 1]
y = ((1+a)*x)/(a+x)

range: a can neither be nor be between 0 and -1

a from large positive -> 0.0001...   log taper
a from large negative -> -1.0001...   reverse log taper
http://www.mathopenref.com/graphfunc...0&al=-10&a=-10

Illustration of Tapers

http://www.geofex.com/article_folder...s/pottaper.gif

Last edited by SaulT; 06-05-2014 at 09:08 PM.
SaulT is offline   Reply With Quote