FFTAnalyzer

From a signal, output short term FFT data. Variable overlap. Introduces approximately windowSize/2 samples delay. Uses a real FFT to gain some speed.

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

initialize
void initialize(int windowSize, int fftSize, int analysisPeriod, WindowDesc windowDesc, bool zeroPhaseWindowing)

To call at initialization and whenever samplerate changes. windowSize = size of window, expressed in samples fftSize = size of FFT. Must be power-of-two and >= windowSize. Missing samples are zero-padded in time domain. analysisPeriod = period of analysis results, allow to be more precise frequentially, expressed in samples. Basic overlap is achieved with windowSize = 2 * analysisPeriod if zeroPhaseWindowing = true, "zero phase" windowing is used (center of window is at first sample, zero-padding happen at center)

realFFT
RFFT!T realFFT()

Gets the RFFT object which allows to perform efficient incverse FFT with the same pre-computed tables.

Meta