Jamoma API
0.6.0.a19
|
A function unit that provides exponential curves, along with a number of options to control the behavior of the curve. More...
#include <TTPowerFunction.h>
Protected Member Functions | |
TTErr | setSymmetry (const TTValue &newValue) |
Attribute setter. More... | |
TTErr | setPowerValue (const TTValue &newValue) |
Attribute setter. More... | |
TTErr | calculatePoint (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 | |
TTSymbol | mSymmetry |
Mode: none, point or axis. | |
double | mPowerValue |
Parameter for function: y pow(x,pow(2,powerValue)) | |
double | mK |
k = pow(2,powerValue) | |
A function unit that provides exponential curves, along with a number of options to control the behavior of the curve.
Definition at line 26 of file TTPowerFunction.h.
|
protected |
A standard audio processing method as used by TTBlue objects.
Definition at line 95 of file TTPowerFunction.cpp.
References TTAudioObjectBase::calculateMethod, TTAudioSignal::getMinChannelCount(), kTTErrNone, and TTAudioSignal::mSampleVectors.
Attribute setter.
Definition at line 56 of file TTPowerFunction.cpp.
References kTTErrNone, mK, and mPowerValue.
Attribute setter.
Definition at line 42 of file TTPowerFunction.cpp.
References calculatePoint(), kTTErrNone, mSymmetry, setCalculateMethod, and TT.