About
The fast Fourier transform (FFT) is used to analyze a given signal in order to transform it into the frequency domain. The maxon::FFTInterface gives access to implementations of various algorithms.
Classes
Various implementations of the FFT are registered at maxon::FFTClasses:
- maxon::FFTClasses::Generic: Generic Cinema 4D implementation.
- maxon::FFTClasses::Kiss: Fast FFT algorithm using the KISS library.
- maxon::FFTClasses::Cooley: Cooley Tukey algorithm.
FFTInterface
The maxon::FFTInterface provides the functions to perform the FFT:
{
}
const maxon::FFTRef genericFFT = maxon::FFTClasses::Generic().Create()
iferr_return;
for (const auto DFT : complexDFT)
{
}
const maxon::Float resolution = samplingFrequency / sampleCount;
for (
maxon::Int i = 0; i < maxFrequencyIndex; ++i)
{
}
Further Reading