Classes | Typedefs
audiofft Namespace Reference

AudioFFT provides real-to-complex/complex-to-real FFT routines. More...

Classes

class  AudioFFT
 Performs 1D FFTs. More...
 

Typedefs

typedef AudioFFT AudioFFTBase
 Let's keep an AudioFFTBase type around for now because it has been here already in the 1st version in order to avoid breaking existing code. More...
 

Detailed Description

AudioFFT provides real-to-complex/complex-to-real FFT routines.

Features:

How to use it in your project:

Remarks:

Example usage:

#include "AudioFFT.h"
void Example()
{
const size_t fftSize = 1024; // Needs to be power of 2!
std::vector<float> input(fftSize, 0.0f);
std::vector<float> re(audiofft::AudioFFT::ComplexSize(fftSize));
std::vector<float> im(audiofft::AudioFFT::ComplexSize(fftSize));
std::vector<float> output(fftSize);
fft.init(1024);
fft.fft(input.data(), re.data(), im.data());
fft.ifft(output.data(), re.data(), im.data());
}

Typedef Documentation

Let's keep an AudioFFTBase type around for now because it has been here already in the 1st version in order to avoid breaking existing code.

©2017 HISE. This documentation is autogenerated from the HISE source code using Doxygen.