|
|
void | reset () |
| |
|
int | to_bin_index (const T frequency) const noexcept |
| | Map frequency to bin index.
|
| |
|
T | medium_bin_frequency (uint16_t index) const noexcept |
| | center frequency of a linear bin
|
| |
|
T | min_bin_frequency (uint16_t index) const noexcept |
| | min frequency of a linear bin
|
| |
|
T | max_bin_frequency (uint16_t index) const noexcept |
| | max frequency of a linear bin
|
| |
| T | get_log_bin_min_frequency (uint16_t index) const noexcept |
| | get the minimum frequency represented by the fft bin at index
|
| |
| T | get_log_bin_max_frequency (uint16_t index) const noexcept |
| | get the minimum frequency represented by the fft bin at index
|
| |
|
void | set_data (const T data, uint16_t index) |
| | Set the microphone data at the target index.
|
| |
|
void | run_fast_fourrier_transform () |
| | Run FFT main code.
|
| |
template<uint16_t samplesFFT, uint16_t resultSize, typename T = float>
class lampda::utils::fft::FftAnalyzer< samplesFFT, resultSize, T >
Wrapper class for the FFT implementation.
- Parameters
-
| [in] | samplesFFT | Is the input frequency bins before analysis |
| [in] | resultSize | Is the resulting frequency bins after analysis |