Main Page | Data Structures | Directories | File List | Data Fields | Globals

fft.hch File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define NUMBER_OF_COLUMNS   8
#define NUMBER_OF_POINTS   (1<<NUMBER_OF_COLUMNS)
#define NUMBER_OF_FREQUENCIES   (NUMBER_OF_POINTS>>1)

Functions

void perform_fft (signed 16 *pcm_audio)
void perform_ifft (signed 16 *modified_audio, unsigned 6 *ifft_info)
void equalize_audio (audiodata_t *audiodata)
 This routine equalizes the frequencies derived by the FFT calculation, according to the settings of the equalizer bars.


Define Documentation

#define NUMBER_OF_COLUMNS   8
 

Definition at line 1 of file fft.hch.

Referenced by calculate_fft().

#define NUMBER_OF_POINTS   (1<<NUMBER_OF_COLUMNS)
 

Definition at line 2 of file fft.hch.

Referenced by calculate_fft(), and equalize_audio().

#define NUMBER_OF_FREQUENCIES   (NUMBER_OF_POINTS>>1)
 

Definition at line 3 of file fft.hch.


Function Documentation

void perform_fft signed 16 *  pcm_audio  ) 
 

Definition at line 259 of file fft.hcc.

References calculate_fft().

Here is the call graph for this function:

void perform_ifft signed 16 *  modified_audio,
unsigned 6 *  ifft_info
 

Definition at line 324 of file fft.hcc.

References calculate_fft().

Here is the call graph for this function:

void equalize_audio audiodata_t audiodata  ) 
 

This routine equalizes the frequencies derived by the FFT calculation, according to the settings of the equalizer bars.

Note:
Cost: 3844 clock cycles (Maximum)
Parameters:
*audiodata pointer to the audiodata struct, containing the eq_info, etc.
Returns:
void
Return values:
void 

Definition at line 398 of file fft.hcc.

References audiodata_t::display_log, eq_settings, audiodata_t::equalizer_levels_ptr, multiply(), and NUMBER_OF_POINTS.

Here is the call graph for this function:


Generated on Thu Dec 9 14:37:08 2004 for Graphic Equalizer 2 by  doxygen 1.3.9.1