Audacity  2.2.0
FFT.h File Reference
#include <wx/defs.h>
#include <wx/wxchar.h>

Go to the source code of this file.

Macros

#define M_PI   3.14159265358979323846 /* pi */
 

Enumerations

enum  eWindowFunctions {
  eWinFuncRectangular, eWinFuncBartlett, eWinFuncHamming, eWinFuncHanning,
  eWinFuncBlackman, eWinFuncBlackmanHarris, eWinFuncWelch, eWinFuncGaussian25,
  eWinFuncGaussian35, eWinFuncGaussian45, eWinFuncCount
}
 

Functions

void PowerSpectrum (size_t NumSamples, const float *In, float *Out)
 
void RealFFT (size_t NumSamples, const float *RealIn, float *RealOut, float *ImagOut)
 
void InverseRealFFT (size_t NumSamples, const float *RealIn, const float *ImagIn, float *RealOut)
 
void FFT (size_t NumSamples, bool InverseTransform, const float *RealIn, const float *ImagIn, float *RealOut, float *ImagOut)
 
void WindowFunc (int whichFunction, size_t NumSamples, float *data)
 
void NewWindowFunc (int whichFunction, size_t NumSamples, bool extraSample, float *data)
 
void DerivativeOfWindowFunc (int whichFunction, size_t NumSamples, bool extraSample, float *data)
 
const wxChar * WindowFuncName (int whichFunction)
 
int NumWindowFuncs ()
 
void DeinitFFT ()
 

Macro Definition Documentation

#define M_PI   3.14159265358979323846 /* pi */

Enumeration Type Documentation

Enumerator
eWinFuncRectangular 
eWinFuncBartlett 
eWinFuncHamming 
eWinFuncHanning 
eWinFuncBlackman 
eWinFuncBlackmanHarris 
eWinFuncWelch 
eWinFuncGaussian25 
eWinFuncGaussian35 
eWinFuncGaussian45 
eWinFuncCount 

Function Documentation

void DeinitFFT ( )

Referenced by AudacityApp::OnExit().

void DerivativeOfWindowFunc ( int  whichFunction,
size_t  NumSamples,
bool  extraSample,
float *  data 
)
void FFT ( size_t  NumSamples,
bool  InverseTransform,
const float *  RealIn,
const float *  ImagIn,
float *  RealOut,
float *  ImagOut 
)
void InverseRealFFT ( size_t  NumSamples,
const float *  RealIn,
const float *  ImagIn,
float *  RealOut 
)
void NewWindowFunc ( int  whichFunction,
size_t  NumSamples,
bool  extraSample,
float *  data 
)
void PowerSpectrum ( size_t  NumSamples,
const float *  In,
float *  Out 
)

References GetFFT(), and RealFFTf().

Referenced by SpectrumAnalyst::Calculate(), and ComputeSpectrum().

void RealFFT ( size_t  NumSamples,
const float *  RealIn,
float *  RealOut,
float *  ImagOut 
)
void WindowFunc ( int  whichFunction,
size_t  NumSamples,
float *  data 
)