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

Public Member Functions

 calibrator_runtime_layer_t (bool is_input, const mhaconfig_t &tf, calibrator_variables_t &vars)
 
mha_real_t process (mha_wave_t **)
 

Static Private Member Functions

static unsigned int firfirlen (const std::vector< std::vector< float > > &)
 
static unsigned int firfir2fftlen (unsigned int, const std::vector< std::vector< float > > &)
 

Private Attributes

MHAFilter::fftfilter_t fir
 
MHASignal::quantizer_t quant
 
MHASignal::waveform_t gain
 
softclipper_t softclip
 The softclipper, only used when b_is_input == false. More...
 
bool b_is_input
 
bool b_use_fir
 
bool b_use_clipping
 
MHASignal::loop_wavefragment_t speechnoise
 
MHASignal::loop_wavefragment_t::playback_mode_t pmode
 

Constructor & Destructor Documentation

◆ calibrator_runtime_layer_t()

calibrator_runtime_layer_t::calibrator_runtime_layer_t ( bool  is_input,
const mhaconfig_t tf,
calibrator_variables_t vars 
)

Member Function Documentation

◆ process()

mha_real_t calibrator_runtime_layer_t::process ( mha_wave_t **  s)

◆ firfirlen()

unsigned int calibrator_runtime_layer_t::firfirlen ( const std::vector< std::vector< float > > &  fir)
staticprivate

◆ firfir2fftlen()

unsigned int calibrator_runtime_layer_t::firfir2fftlen ( unsigned int  fragsize,
const std::vector< std::vector< float > > &  fir 
)
staticprivate

Member Data Documentation

◆ fir

MHAFilter::fftfilter_t calibrator_runtime_layer_t::fir
private

◆ quant

MHASignal::quantizer_t calibrator_runtime_layer_t::quant
private

◆ gain

MHASignal::waveform_t calibrator_runtime_layer_t::gain
private

◆ softclip

softclipper_t calibrator_runtime_layer_t::softclip
private

The softclipper, only used when b_is_input == false.

◆ b_is_input

bool calibrator_runtime_layer_t::b_is_input
private

◆ b_use_fir

bool calibrator_runtime_layer_t::b_use_fir
private

◆ b_use_clipping

bool calibrator_runtime_layer_t::b_use_clipping
private

◆ speechnoise

MHASignal::loop_wavefragment_t calibrator_runtime_layer_t::speechnoise
private

◆ pmode

MHASignal::loop_wavefragment_t::playback_mode_t calibrator_runtime_layer_t::pmode
private

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