|
arduino-audio-tools
|
Buffered window function, so that we do not need to re-calculate the values. More...
#include <FFTWindows.h>
Public Member Functions | |
| BufferedWindow (WindowFunction *wf) | |
| virtual void | begin (int samples) override |
| Setup the window function providing the fft length. | |
| float | factor (int idx) |
| const char * | name () override |
| int | samples () |
| Provides the number of samples (fft length) | |
Protected Member Functions | |
| float | factor_internal (int idx) override |
| float | ratio (int idx) |
Protected Attributes | |
| Vector< float > | buffer {0} |
| const float | fourPi = 12.56637061f |
| int | i_half_samples = 0 |
| int | i_samples = 0 |
| WindowFunction * | p_wf = nullptr |
| float | samples_minus_1 = 0.0f |
| const float | sixPi = 18.84955593f |
| const float | twoPi = 6.28318531f |
Buffered window function, so that we do not need to re-calculate the values.
|
inline |
Setup the window function providing the fft length.
Reimplemented from WindowFunction.
Provides the multipication factor at the indicated position. The result is symetrically mirrored around the center
Implements WindowFunction.
Implements WindowFunction.
|
inlineinherited |
Provides the number of samples (fft length)
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protectedinherited |