| Tobias Kunze wrote:
> [somebody wrote]
> > y=(1-(1-x)^n)^(1/n)
>
> I'm not a math whiz, but why not simply y=x^n?
Tweak: I think Marc wanted it to go the other way, y=x^(1/n).
It's worth trying both this and the more-complex "superellipse"
distortion, since they'll likely sound different. (And the NURBS,
too, if anyone knows how. :-)
Here's another class of functions to try:
y = S(nx) / S(n)
where S(-inf) = -1, S(0) = 0, S(inf) = 1, S'(0) = 1.
(e.g. an exponential or arctan sigmoid, or the response curve of a
tube amp.)
Like the other suggestions, it lacks the desired property of working
at n=0.
--
Eli Brandt
eli+@cs.cmu.edu |