FFTReal Class Reference

The FFT procedures used by shout are written by Laurent de Soras. More...

List of all members.


Classes

class  BitReversedLUT
 The FFT procedures used by shout are written by Laurent de Soras. More...
class  TrigoLUT
 The FFT procedures used by shout are written by Laurent de Soras. More...

Public Member Functions

 FFTReal (const long length)
 ~FFTReal ()
void do_fft (flt_t f[], const flt_t x[]) const
void do_ifft (const flt_t f[], flt_t x[]) const
void rescale (flt_t x[]) const

Private Member Functions

 FFTReal (const FFTReal &other)
const FFTRealoperator= (const FFTReal &other)
int operator== (const FFTReal &other)
int operator!= (const FFTReal &other)

Private Attributes

const int _nbr_bits
const long _length
const BitReversedLUT _bit_rev_lut
const TrigoLUT _trigo_lut
const flt_t _sqrt2_2
flt_t_buffer_ptr

Detailed Description

The FFT procedures used by shout are written by Laurent de Soras.

This is his legal message:

LEGAL

Source code may be freely used for any purpose, including commercial applications. Programs must display in their "About" dialog-box (or documentation) a text telling they use these routines by Laurent de Soras. Modified source code can be distributed, but modifications must be clearly indicated.

CONTACT

Laurent de Soras 92 avenue Albert 1er 92500 Rueil-Malmaison France

ldesoras@club-internet.fr


Constructor & Destructor Documentation

FFTReal::FFTReal ( const long  length  )  [explicit]

The FFT procedures used by shout are written by Laurent de Soras

References _buffer_ptr, _length, and _nbr_bits.

FFTReal::~FFTReal ( void   ) 

The FFT procedures used by shout are written by Laurent de Soras

References _buffer_ptr.

FFTReal::FFTReal ( const FFTReal other  )  [private]


Member Function Documentation

void FFTReal::do_fft ( flt_t  f[],
const flt_t  x[] 
) const

The FFT procedures used by shout are written by Laurent de Soras

References _bit_rev_lut, _buffer_ptr, _length, _nbr_bits, _sqrt2_2, _trigo_lut, FFTReal::FFTReal::TrigoLUT::get_ptr(), and FFTReal::FFTReal::BitReversedLUT::get_ptr().

Referenced by FeatureExtraction::createMfccFrame().

Here is the call graph for this function:

void FFTReal::do_ifft ( const flt_t  f[],
flt_t  x[] 
) const

The FFT procedures used by shout are written by Laurent de Soras

References _bit_rev_lut, _buffer_ptr, _length, _nbr_bits, _sqrt2_2, _trigo_lut, FFTReal::FFTReal::BitReversedLUT::get_ptr(), and FFTReal::FFTReal::TrigoLUT::get_ptr().

Here is the call graph for this function:

int FFTReal::operator!= ( const FFTReal other  )  [private]

const FFTReal& FFTReal::operator= ( const FFTReal other  )  [private]

int FFTReal::operator== ( const FFTReal other  )  [private]

void FFTReal::rescale ( flt_t  x[]  )  const

References _length.

Referenced by FeatureExtraction::createMfccFrame().


Member Data Documentation

Referenced by do_fft(), and do_ifft().

const long FFTReal::_length [private]

Referenced by do_fft(), do_ifft(), FFTReal(), and rescale().

const int FFTReal::_nbr_bits [private]

Referenced by do_fft(), do_ifft(), and FFTReal().

const flt_t FFTReal::_sqrt2_2 [private]

Referenced by do_fft(), and do_ifft().

const TrigoLUT FFTReal::_trigo_lut [private]

Referenced by do_fft(), and do_ifft().