Jamoma API  0.6.0.a19
TTSmoothPolynomialFunction.cpp File Reference

TTSmoothPolynomialFunction Unit for Jamoms DSP More...

#include "TTSmoothPolynomialFunction.h"
#include <math.h>
+ Include dependency graph for TTSmoothPolynomialFunction.cpp:

Go to the source code of this file.

Detailed Description

TTSmoothPolynomialFunction Unit for Jamoms DSP

This function has the following properties:

  • It ramps from 0 to 1
  • The 1st and 2nd derivate equals 0 at x=0 and x=1, giving a smooth start and end to the ramp
  • The start and end of the ramp should be more smooth than for cosine in #TTCosineFunction, as the 2nd order derivative of cosine do not equal 0
  • The function is symmetrical around the point x=0.5, y=0.5
Authors
Trond Lossius

Definition in file TTSmoothPolynomialFunction.cpp.