Jamoma API  0.6.0.a19
TTExpFunction Class Reference

A function unit providing a curve based on y = exp(log(base)*x) but with a variety of additions to the basic trig function. More...

#include <TTExpFunction.h>

+ Inheritance diagram for TTExpFunction:
+ Collaboration diagram for TTExpFunction:

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.
 

Detailed Description

A function unit providing a curve based on y = exp(log(base)*x) but with a variety of additions to the basic trig function.

Definition at line 27 of file TTExpFunction.h.

Member Function Documentation

TTErr TTExpFunction::processAudio ( TTAudioSignalArrayPtr  inputs,
TTAudioSignalArrayPtr  outputs 
)
protected

A standard audio processing method as used by TTBlue objects.

Definition at line 74 of file TTExpFunction.cpp.

References calculateValue().

Referenced by setBase().

+ Here is the call graph for this function:


The documentation for this class was generated from the following files: