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

Collection of configuration variables of the dc plugin. More...

Inheritance diagram for dc::dc_vars_t:
Inheritance graph

Public Member Functions

 dc_vars_t (MHAParser::parser_t &p)
 Constructor initializes the configuration language variables' data members and inserts them into the parser p. More...
 
 dc_vars_t (const dc_vars_t &)=default
 Default copy constructor is used to pass a copy of all configuration variables to the runtime configuration constructor dc_t::dc_t. More...
 

Public Attributes

MHAParser::mfloat_t gtdata
 Gain table with gains in dB. More...
 
MHAParser::vfloat_t gtmin
 Narrow-band input levels in dB SPL specifying for each row of gtdata to which input level the first gain in this row applies. More...
 
MHAParser::vfloat_t gtstep
 Input level increment between elements for each row of gtdata. More...
 
MHAParser::vfloat_t taurmslevel
 Low-pass filter time constants for time-domain envelope extraction. More...
 
MHAParser::vfloat_t tauattack
 Low-pass filter time constants for level extraction when level rises. More...
 
MHAParser::vfloat_t taudecay
 Low-pass filter time constants for level extraction when level falls. More...
 
MHAParser::vfloat_t offset
 Row-specific input level corrections in dB to apply before gain lookup in gtdata. More...
 
MHAParser::string_t filterbank
 Configured name of filterbank plugin placed upstream of this dc plugin. More...
 
MHAParser::string_t chname
 Name of the AC variable containing the number of audiochannels before the filterbank. More...
 
MHAParser::bool_t bypass
 Switch for bypassing the dynamic compression. More...
 
MHAParser::bool_t log_interp
 Interpolate gain table in dBs (vs. More...
 
MHAParser::string_t clientid
 Metadata: Some ID of the hearing impaired subject. More...
 
MHAParser::string_t gainrule
 Metadata: Some name of the gain rule that was used to compute gtdata. More...
 
MHAParser::string_t preset
 Metadata: Some name given to the current setting. More...
 
MHAParser::vfloat_mon_t input_level
 Narrow-band input levels of current block before attack/decay filter. More...
 
MHAParser::vfloat_mon_t filtered_level
 Narrow-band input levels of current block after attack/decay filter. More...
 
MHAParser::vfloat_mon_t center_frequencies
 Center frequencies of upstream filterbank. More...
 
MHAParser::vfloat_mon_t edge_frequencies
 Edge frequencies of upstream filterbank. More...
 
MHAParser::vfloat_mon_t band_weights
 Center frequencies of upstream filterbank. More...
 

Detailed Description

Collection of configuration variables of the dc plugin.

The dc plugin interface class dc_if_t inherits from dc_vars_t. This class is also used to pass a copy of all configuration variables to the constructor of the runtime configuration class dc_t.

Constructor & Destructor Documentation

◆ dc_vars_t() [1/2]

dc_vars_t::dc_vars_t ( MHAParser::parser_t &  p)
explicit

Constructor initializes the configuration language variables' data members and inserts them into the parser p.

Parameters
pThe dc plugin interface instance into which to insert the configuration variables.

◆ dc_vars_t() [2/2]

dc::dc_vars_t::dc_vars_t ( const dc_vars_t &  )
default

Default copy constructor is used to pass a copy of all configuration variables to the runtime configuration constructor dc_t::dc_t.

Member Data Documentation

◆ gtdata

MHAParser::mfloat_t dc::dc_vars_t::gtdata

Gain table with gains in dB.

◆ gtmin

MHAParser::vfloat_t dc::dc_vars_t::gtmin

Narrow-band input levels in dB SPL specifying for each row of gtdata to which input level the first gain in this row applies.

◆ gtstep

MHAParser::vfloat_t dc::dc_vars_t::gtstep

Input level increment between elements for each row of gtdata.

◆ taurmslevel

MHAParser::vfloat_t dc::dc_vars_t::taurmslevel

Low-pass filter time constants for time-domain envelope extraction.

◆ tauattack

MHAParser::vfloat_t dc::dc_vars_t::tauattack

Low-pass filter time constants for level extraction when level rises.

◆ taudecay

MHAParser::vfloat_t dc::dc_vars_t::taudecay

Low-pass filter time constants for level extraction when level falls.

◆ offset

MHAParser::vfloat_t dc::dc_vars_t::offset

Row-specific input level corrections in dB to apply before gain lookup in gtdata.

◆ filterbank

MHAParser::string_t dc::dc_vars_t::filterbank

Configured name of filterbank plugin placed upstream of this dc plugin.

Used to lookup the AC variables published by the filterbank.

◆ chname

MHAParser::string_t dc::dc_vars_t::chname

Name of the AC variable containing the number of audiochannels before the filterbank.

◆ bypass

MHAParser::bool_t dc::dc_vars_t::bypass

Switch for bypassing the dynamic compression.

◆ log_interp

MHAParser::bool_t dc::dc_vars_t::log_interp

Interpolate gain table in dBs (vs.

interpolating linear factors).

◆ clientid

MHAParser::string_t dc::dc_vars_t::clientid

Metadata: Some ID of the hearing impaired subject.

◆ gainrule

MHAParser::string_t dc::dc_vars_t::gainrule

Metadata: Some name of the gain rule that was used to compute gtdata.

◆ preset

MHAParser::string_t dc::dc_vars_t::preset

Metadata: Some name given to the current setting.

◆ input_level

MHAParser::vfloat_mon_t dc::dc_vars_t::input_level

Narrow-band input levels of current block before attack/decay filter.

◆ filtered_level

MHAParser::vfloat_mon_t dc::dc_vars_t::filtered_level

Narrow-band input levels of current block after attack/decay filter.

◆ center_frequencies

MHAParser::vfloat_mon_t dc::dc_vars_t::center_frequencies

Center frequencies of upstream filterbank.

◆ edge_frequencies

MHAParser::vfloat_mon_t dc::dc_vars_t::edge_frequencies

Edge frequencies of upstream filterbank.

◆ band_weights

MHAParser::vfloat_mon_t dc::dc_vars_t::band_weights

Center frequencies of upstream filterbank.


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