Jamoma API
0.6.0.a19
|
The Bartlett window is a triangular window that reach 0 at the end points (x=0 and x=1) y = 1 - |2x-1|. More...
#include <TTBartlettWindow.h>
Protected Member Functions | |
TTErr | calculateValue (const TTFloat64 &x, TTFloat64 &y, TTPtrSizedInt data) |
Calculate y = f(x) for a single value. More... | |
TTErr | processAudio (TTAudioSignalArrayPtr inputs, TTAudioSignalArrayPtr outputs) |
A standard audio processing method as used by TTBlue objects. More... | |
The Bartlett window is a triangular window that reach 0 at the end points (x=0 and x=1) y = 1 - |2x-1|.
Definition at line 26 of file TTBartlettWindow.h.
|
inlineprotected |
Calculate y = f(x) for a single value.
x | The input value to the window function. |
y | The resulting value for the window function. |
data | Not used. |
Definition at line 36 of file TTBartlettWindow.cpp.
References kTTErrNone.
Referenced by processAudio().
|
protected |
A standard audio processing method as used by TTBlue objects.
inputs | The input vector that is to be processed. |
outputs | The resulting windowed vector. |
Definition at line 43 of file TTBartlettWindow.cpp.
References calculateValue().