/Users/richardeakin/projects/libsms/trunk/src/transforms.c File Reference

routines for different Fast Fourier Transform Algorithms More...

#include "sms.h"
#include "OOURA.h"
Include dependency graph for transforms.c:

Functions

void sms_fft (int sizeFft, sfloat *pArray)
 Forward Fast Fourier Transform.
void sms_ifft (int sizeFft, sfloat *pArray)
 Inverse Forward Fast Fourier Transform.

Variables

static int ip [NMAXSQRT+2]
static sfloat w [NMAX *5/4]

Detailed Description

routines for different Fast Fourier Transform Algorithms


Function Documentation

void sms_fft ( int  sizeFft,
sfloat *  pArray 
)

Forward Fast Fourier Transform.

function to call the OOURA routines to calculate the forward FFT. Operation is in place.

Todo:
if sizeFft != power of 2, there is a silent crash.. cuidado!
Parameters:
sizeFft size of the FFT in samples (must be a power of 2 >= 2)
pArray pointer to real array (n >= 2, n = power of 2)

References ip, rdft(), and w.

Referenced by sms_dCepstrumEnvelope(), sms_spectrum(), and sms_spectrumMag().

Here is the call graph for this function:

void sms_ifft ( int  sizeFft,
sfloat *  pArray 
)

Inverse Forward Fast Fourier Transform.

function to call the OOURA routines to calculate the Inverse FFT. Operation is in place.

Parameters:
sizeFft size of the FFT in samples (must be a power of 2 >= 2)
pArray pointer to real array (n >= 2, n = power of 2)

References ip, rdft(), and w.

Referenced by SineSynthIFFT(), sms_invQuickSpectrumW(), sms_invSpectrum(), and sms_synthesize().

Here is the call graph for this function:


Variable Documentation

int ip[NMAXSQRT+2] [static]

Referenced by sms_fft(), and sms_ifft().

sfloat w[NMAX *5/4] [static]

Referenced by sms_fft(), and sms_ifft().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Thu Oct 29 04:08:07 2009 for libsms by  doxygen 1.6.1