AuxPort 0.2
Modules for Audio Software Development
|
Implementation of Fast Fourier Transform based on optimized Cooley-Tukey Algorithm. More...
#include <AuxFFT.h>
Public Member Functions | |
FourierTransform (size_t fftSize) | |
Provide FFT Size, (Note should be a power of 2). | |
void | computeTransform (const std::vector< float > &inputBuffer, std::vector< float > &output) |
Performs FFT on the AudioBuffer passed in the argument and returns an AudioBuffer with FFT Values. | |
void | computeInverseTransform (std::vector< float > &outputBuffer) |
Performs in place IFFT. | |
std::complex< float > | get (size_t index) const |
Performs in-place FFT. | |
std::vector< std::complex< float > > * | getFourierTransformFrame () |
Returns the pointer to the Fourier Transform Vector. | |
size_t | size () const |
Returns the size. | |
Implementation of Fast Fourier Transform based on optimized Cooley-Tukey Algorithm.
AuxPort::Audio::FourierTransform::FourierTransform | ( | size_t | fftSize | ) |
Provide FFT Size, (Note should be a power of 2).
Definition at line 3 of file AuxFFT.cpp.
void AuxPort::Audio::FourierTransform::computeInverseTransform | ( | std::vector< float > & | outputBuffer | ) |
Performs in place IFFT.
Definition at line 22 of file AuxFFT.cpp.
void AuxPort::Audio::FourierTransform::computeTransform | ( | const std::vector< float > & | inputBuffer, |
std::vector< float > & | output ) |
Performs FFT on the AudioBuffer passed in the argument and returns an AudioBuffer with FFT Values.
Definition at line 11 of file AuxFFT.cpp.
std::complex< float > AuxPort::Audio::FourierTransform::get | ( | size_t | index | ) | const |
Performs in-place FFT.
Definition at line 33 of file AuxFFT.cpp.
std::vector< std::complex< float > > * AuxPort::Audio::FourierTransform::getFourierTransformFrame | ( | ) |
Returns the pointer to the Fourier Transform Vector.
Definition at line 38 of file AuxFFT.cpp.
size_t AuxPort::Audio::FourierTransform::size | ( | ) | const |
Returns the size.
Definition at line 43 of file AuxFFT.cpp.