Jamoma API  0.6.0.a19
TTSmoothPolynomialFunction.h File Reference

TTSmoothPolynomialFunction Unit for Jamoms DSP More...

#include "TTDSP.h"
+ Include dependency graph for TTSmoothPolynomialFunction.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  TTSmoothPolynomialFunction
 This implements a function which basically does nothing: y = f(x) More...

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
Trond Lossius

Definition in file TTSmoothPolynomialFunction.h.