|
arduino-audio-tools
|
Driver for RealFFT. More...
#include <AudioRealFFT.h>
Public Member Functions | |
| bool | begin (int len) override |
| void | end () override |
| void | fft () override |
| Perform FFT. | |
| bool | getBin (int pos, FFTBin &bin) override |
| gets the value of a bin | |
| float | getValue (int idx) override |
| get Real value | |
| bool | isReverseFFT () override |
| Returns true if reverse FFT is supported. | |
| bool | isValid () override |
| float | magnitude (int idx) override |
| Calculate the magnitude (fft result) at index (sqr(i² + r²)) | |
| float | magnitudeFast (int idx) override |
| magnitude w/o sqrt | |
| void | rfft () override |
| Inverse fft - convert fft result back to time domain (samples) | |
| bool | setBin (int pos, FFTBin &bin) |
| sets the value of a bin | |
| bool | setBin (int pos, float real, float img) override |
| sets the value of a bin | |
| void | setValue (int idx, float value) override |
| Sets the real value. | |
Public Attributes | |
| int | len |
| ffft::FFTReal< float > * | p_fft_object =nullptr |
| Vector< float > | v_f {0} |
| Vector< float > | v_x {0} |
Driver for RealFFT.
gets the value of a bin
Reimplemented from FFTDriver.
|
inlineoverridevirtual |
Returns true if reverse FFT is supported.
Reimplemented from FFTDriver.
Calculate the magnitude (fft result) at index (sqr(i² + r²))
Implements FFTDriver.
|
inlineoverridevirtual |
Inverse fft - convert fft result back to time domain (samples)
Reimplemented from FFTDriver.
sets the value of a bin
Reimplemented from FFTDriver.
Sets the real value.
Implements FFTDriver.
| int len |
| ffft::FFTReal<float>* p_fft_object =nullptr |