arduino-audio-tools
|
fft Driver for espressif dsp library: https://espressif-docs.readthedocs-hosted.com/projects/esp-dsp/en/latest/esp-dsp-apis.html More...
#include <AudioEspressifFFT.h>
Public Member Functions | |
bool | begin (int len) override |
void | conjugate () |
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 result value from Reverse FFT. | |
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 |
Calculate reverse FFT. | |
bool | setBin (int pos, FFTBin &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 =0 |
float * | p_data = nullptr |
esp_err_t | ret |
fft Driver for espressif dsp library: https://espressif-docs.readthedocs-hosted.com/projects/esp-dsp/en/latest/esp-dsp-apis.html