The Open Master Hearing Aid (openMHA)  openMHA
Open community platform for hearing aid algorithm research
MHAFilter::thirdoctave_analyzer_t Class Reference

Public Member Functions

 thirdoctave_analyzer_t (mhaconfig_t cfg)
 
mha_wave_tprocess (mha_wave_t *)
 
unsigned int nbands ()
 
unsigned int nchannels ()
 
std::vector< mha_real_tget_cf_hz ()
 

Static Public Member Functions

static std::vector< mha_real_tcf_generator (mhaconfig_t cfg)
 
static std::vector< mha_real_tbw_generator (mhaconfig_t cfg)
 
static std::vector< mha_real_tdup (std::vector< mha_real_t >, mhaconfig_t cfg)
 

Private Attributes

mhaconfig_t cfg_
 
std::vector< mha_real_tcf
 
MHAFilter::gamma_flt_t fb
 
MHASignal::waveform_t out_chunk
 
MHASignal::waveform_t out_chunk_im
 

Constructor & Destructor Documentation

◆ thirdoctave_analyzer_t()

MHAFilter::thirdoctave_analyzer_t::thirdoctave_analyzer_t ( mhaconfig_t  cfg)

Member Function Documentation

◆ process()

mha_wave_t * MHAFilter::thirdoctave_analyzer_t::process ( mha_wave_t sIn)

◆ nbands()

unsigned int MHAFilter::thirdoctave_analyzer_t::nbands ( )

◆ nchannels()

unsigned int MHAFilter::thirdoctave_analyzer_t::nchannels ( )

◆ get_cf_hz()

std::vector< mha_real_t > MHAFilter::thirdoctave_analyzer_t::get_cf_hz ( )

◆ cf_generator()

std::vector< mha_real_t > MHAFilter::thirdoctave_analyzer_t::cf_generator ( mhaconfig_t  cfg)
static

◆ bw_generator()

std::vector< mha_real_t > MHAFilter::thirdoctave_analyzer_t::bw_generator ( mhaconfig_t  cfg)
static

◆ dup()

std::vector< mha_real_t > MHAFilter::thirdoctave_analyzer_t::dup ( std::vector< mha_real_t vec,
mhaconfig_t  cfg 
)
static

Member Data Documentation

◆ cfg_

mhaconfig_t MHAFilter::thirdoctave_analyzer_t::cfg_
private

◆ cf

std::vector<mha_real_t> MHAFilter::thirdoctave_analyzer_t::cf
private

◆ fb

MHAFilter::gamma_flt_t MHAFilter::thirdoctave_analyzer_t::fb
private

◆ out_chunk

MHASignal::waveform_t MHAFilter::thirdoctave_analyzer_t::out_chunk
private

◆ out_chunk_im

MHASignal::waveform_t MHAFilter::thirdoctave_analyzer_t::out_chunk_im
private

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