Jamoma API
0.6.0.a19
|
A function unit providing logaritmic mapping with variable base y = (log(x)/log(base)-1) / (base - 1) More...
#include <TTLogFunction.h>
Protected Member Functions | |
TTErr | setBase (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 | mBase |
Base for the exponential function. | |
double | k |
Internal coefficient. | |
double | l |
Internal coefficient. | |
A function unit providing logaritmic mapping with variable base y = (log(x)/log(base)-1) / (base - 1)
Definition at line 26 of file TTLogFunction.h.
|
protected |
A standard audio processing method as used by TTBlue objects.
Definition at line 89 of file TTLogFunction.cpp.
References calculateValue().
Referenced by setBase().