#include <fft.h>
Public Member Functions | |
FFT (uint16_t m_size) | |
double | get_element_i (uint16_t pos) |
double | get_element_r (uint16_t pos) |
double | get_magnitude (uint16_t pos) |
double | get_magnitude_max () |
void | process_data () |
void | setSoundBuffer (SoundBuffer *value) |
~FFT () | |
Private Attributes | |
double * | m_inputSignal |
double * | m_magnitude |
double | m_maxMagnitude |
fftw_complex * | m_outputSignal |
uint16_t | m_size |
SoundBuffer * | m_SoundBuffer |
fftw_plan | plan_forward |
mybeat::FFT::FFT | ( | uint16_t | m_size = 0 | ) |
double mybeat::FFT::get_element_i | ( | uint16_t | pos | ) |
double mybeat::FFT::get_element_r | ( | uint16_t | pos | ) |
double mybeat::FFT::get_magnitude | ( | uint16_t | pos | ) |
double mybeat::FFT::get_magnitude_max | ( | ) |
void mybeat::FFT::process_data | ( | ) |
void mybeat::FFT::setSoundBuffer | ( | SoundBuffer * | value | ) | [inline] |
double* mybeat::FFT::m_inputSignal [private] |
double* mybeat::FFT::m_magnitude [private] |
double mybeat::FFT::m_maxMagnitude [private] |
fftw_complex* mybeat::FFT::m_outputSignal [private] |
uint16_t mybeat::FFT::m_size [private] |
SoundBuffer* mybeat::FFT::m_SoundBuffer [private] |
fftw_plan mybeat::FFT::plan_forward [private] |