Driver for Cmsis-FFT see https://arm-software.github.io/CMSIS_5/DSP.
More...
#include <AudioCmsisFFT.h>
|
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 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 |
| same as magnitude
|
|
void | rfft () override |
| Calculate reverse FFT.
|
|
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.
|
|
|
arm_rfft_fast_instance_f32 | fft_instance |
|
float * | input =nullptr |
|
int | len |
|
float * | output =nullptr |
|
float * | output_magn =nullptr |
|
uint32_t | result_index = 0 |
|
float | result_max_value |
|
arm_status | status |
|
Driver for Cmsis-FFT see https://arm-software.github.io/CMSIS_5/DSP.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ begin()
◆ end()
◆ fft()
◆ getBin()
bool getBin |
( |
int |
pos, |
|
|
FFTBin & |
bin |
|
) |
| |
|
inlineoverridevirtual |
gets the value of a bin
Reimplemented from FFTDriver.
◆ getValue()
float getValue |
( |
int |
pos | ) |
|
|
inlineoverridevirtual |
Get result value from Reverse FFT.
Implements FFTDriver.
◆ isReverseFFT()
Returns true if reverse FFT is supported.
Reimplemented from FFTDriver.
◆ isValid()
◆ magnitude()
float magnitude |
( |
int |
idx | ) |
|
|
inlineoverridevirtual |
Calculate the magnitude (fft result) at index (sqr(i² + r²))
Implements FFTDriver.
◆ magnitudeFast()
float magnitudeFast |
( |
int |
idx | ) |
|
|
inlineoverridevirtual |
◆ rfft()
Calculate reverse FFT.
Reimplemented from FFTDriver.
◆ setBin()
bool setBin |
( |
int |
idx, |
|
|
float |
real, |
|
|
float |
img |
|
) |
| |
|
inlineoverridevirtual |
sets the value of a bin
Reimplemented from FFTDriver.
◆ setValue()
void setValue |
( |
int |
pos, |
|
|
float |
value |
|
) |
| |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: