|
LMMS
|
#include <FFTwrapper.h>
Public Member Functions | |
| FFTwrapper (int fftsize_) | |
| ~FFTwrapper () | |
| void | smps2freqs (const float *smps, fft_t *freqs) |
| void | freqs2smps (const fft_t *freqs, float *smps) |
Private Attributes | |
| int | fftsize |
| fftw_real * | time |
| fftwf_complex * | fft |
| fftwf_plan | planfftw |
| fftwf_plan | planfftw_inv |
A wrapper for the FFTW library (Fast Fourier Transforms)
| FFTwrapper::FFTwrapper | ( | int | fftsize_ | ) |
Constructor
| fftsize | The size of samples to be fed to fftw |
| FFTwrapper::~FFTwrapper | ( | ) |
Destructor
Convert Samples to Frequencies using Fourier Transform
| smps | Pointer to Samples to be converted; has length fftsize_ |
| freqs | Structure FFTFREQS which stores the frequencies |
|
private |
|
private |
|
private |
|
private |
|
private |