Jamoma API
0.6.0.a19
|
This implements a window function as described @ http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/windows/ welch(i) = 1.0 - ((i-n/2)/(n/2)) * ((i-n/2)/(n/2)) More...
#include <TTWelchWindow.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... | |
This implements a window function as described @ http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/windows/ welch(i) = 1.0 - ((i-n/2)/(n/2)) * ((i-n/2)/(n/2))
Definition at line 29 of file TTWelchWindow.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 39 of file TTWelchWindow.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 52 of file TTWelchWindow.cpp.
References calculateValue().