Performs 1D FFTs.
More...
#include <AudioFFT.h>
|
| static size_t | ComplexSize (size_t size) |
| | Calculates the necessary size of the real/imaginary complex arrays.
|
| |
◆ AudioFFT() [1/2]
| audiofft::AudioFFT::AudioFFT |
( |
| ) |
|
◆ AudioFFT() [2/2]
| audiofft::AudioFFT::AudioFFT |
( |
const AudioFFT & | | ) |
|
|
delete |
◆ ~AudioFFT()
| audiofft::AudioFFT::~AudioFFT |
( |
| ) |
|
◆ ComplexSize()
| size_t audiofft::AudioFFT::ComplexSize |
( |
size_t | size | ) |
|
|
static |
Calculates the necessary size of the real/imaginary complex arrays.
- Parameters
-
| size | The size of the real data |
- Returns
- The size of the real/imaginary complex arrays
◆ fft()
| void audiofft::AudioFFT::fft |
( |
const float * | data, |
|
|
float * | re, |
|
|
float * | im ) |
Performs the forward FFT.
- Parameters
-
| data | The real input data (has to be of the length as specified in init()) |
| re | The real part of the complex output (has to be of length as returned by ComplexSize()) |
| im | The imaginary part of the complex output (has to be of length as returned by ComplexSize()) |
◆ ifft()
| void audiofft::AudioFFT::ifft |
( |
float * | data, |
|
|
const float * | re, |
|
|
const float * | im ) |
Performs the inverse FFT.
- Parameters
-
| data | The real output data (has to be of the length as specified in init()) |
| re | The real part of the complex input (has to be of length as returned by ComplexSize()) |
| im | The imaginary part of the complex input (has to be of length as returned by ComplexSize()) |
◆ init()
| void audiofft::AudioFFT::init |
( |
size_t | size | ) |
|
Initializes the FFT object.
- Parameters
-
| size | Size of the real input (must be power 2) |
◆ operator=()
◆ _impl
The documentation for this class was generated from the following files:
- krotos_dsp/processors/convolution_reverb/FFTConvolver/AudioFFT.h
- krotos_dsp/processors/convolution_reverb/FFTConvolver/AudioFFT.cpp