SPUC  3.0
Public Types | Public Member Functions | Public Attributes | List of all members
SPUC::equalizer Class Reference

#include <equalizer.h>

Collaboration diagram for SPUC::equalizer:
Collaboration graph

Public Types

typedef complex< double > audio_data_type

Public Member Functions

void adjust_level (int filt_num, double gain)
 equalizer (int BANDS=10)
void init (int points)
void set_fs (double f)
void reset ()
complex< double > run (const complex< double > &sample)
void update_levels ()
void get_levels (float *levs)
void get_gains (float *gains)
float get_level (int band)
float get_gain (int band)
 equalizer (void)
bool symclk ()
bool data ()
void clock (cmplx< double > in)

Public Attributes

int num_bands
< iir_allpass_variable_cascade
< audio_data_type, double > > 
std::vector< audio_data_typefil_out
std::vector< audio_data_typeeq
std::vector< double > levels
audio_data_type lpf
std::vector< double > gains
double lev_gain
long count

Member Typedef Documentation

Constructor & Destructor Documentation

SPUC::equalizer::equalizer ( int  BANDS = 10)

References lev_gain, num_bands, and reset().

Here is the call graph for this function:

SPUC::equalizer::equalizer ( void  )

Member Function Documentation

void SPUC::equalizer::adjust_level ( int  filt_num,
double  gain 

References gains.

void SPUC::equalizer::clock ( cmplx< double >  in)
bool SPUC::equalizer::data ( )
float SPUC::equalizer::get_gain ( int  band)
void SPUC::equalizer::get_gains ( float *  gains)

References gains, and num_bands.

float SPUC::equalizer::get_level ( int  band)
void SPUC::equalizer::get_levels ( float *  levs)

References levels, and num_bands.

void SPUC::equalizer::init ( int  points)
void SPUC::equalizer::reset ( void  )

References count, gains, levels, num_bands, and S_All.

Referenced by equalizer().

complex< double > SPUC::equalizer::run ( const complex< double > &  sample)

References eq, fil_out, gains, lpf, num_bands, and S_All.

void SPUC::equalizer::set_fs ( double  f)
bool SPUC::equalizer::symclk ( )
void SPUC::equalizer::update_levels ( )

References eq, lev_gain, levels, SPUC::magsq(), and num_bands.

Here is the call graph for this function:

Member Data Documentation

long SPUC::equalizer::count

Referenced by reset().

std::vector<audio_data_type> SPUC::equalizer::eq

Referenced by run(), and update_levels().

std::vector<audio_data_type> SPUC::equalizer::fil_out

Referenced by run().

std::vector<double> SPUC::equalizer::gains

Referenced by adjust_level(), get_gains(), reset(), and run().

double SPUC::equalizer::lev_gain

Referenced by equalizer(), and update_levels().

std::vector<double> SPUC::equalizer::levels

Referenced by get_levels(), reset(), and update_levels().

audio_data_type SPUC::equalizer::lpf

Referenced by run().

int SPUC::equalizer::num_bands
std::vector<iir_allpass_variable_cascade<audio_data_type,double> > SPUC::equalizer::S_All

Referenced by reset(), and run().

The documentation for this class was generated from the following files: