Jamoma API
0.6.0.a19
|
A function unit providing a curve based on y = tanh(x) but with a variety of additions to the basic trig function. More...
#include <TTTanhFunction.h>
Protected Member Functions | |
void | calculateOutputScaling (void) |
Calculate coefficients. | |
TTErr | setWidth (const TTValue &value) |
Calculate coefficients when this attr is set. | |
TTErr | setOffset (const TTValue &value) |
Calculate coefficients when this attr is set. | |
TTErr | calculateValue (const TTFloat64 &x, TTFloat64 &y, TTPtrSizedInt data) |
y = f(x) for a single value | |
TTErr | processAudio (TTAudioSignalArrayPtr inputs, TTAudioSignalArrayPtr outputs) |
A standard audio processing method as used by TTBlue objects. More... | |
virtual TTErr | test (TTValue &returnedTestInfo) |
Unit Tests. | |
Protected Attributes | |
TTFloat64 | mWidth |
Parameter for function: y pow(x,pow(2,powerValue)) | |
TTFloat64 | mOffset |
k = pow(2,powerValue) | |
double | a |
Internal coefficient. | |
double | b |
Internal coefficient. | |
double | alpha |
Internal coefficient. | |
double | beta |
Internal coefficient. | |
A function unit providing a curve based on y = tanh(x) but with a variety of additions to the basic trig function.
Definition at line 27 of file TTTanhFunction.h.
|
protected |
A standard audio processing method as used by TTBlue objects.
Definition at line 86 of file TTTanhFunction.cpp.
References calculateValue().