The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Set of configuration variables for FFT-based overlapping filters. More...
Public Member Functions | |
fftfb_vars_t (MHAParser::parser_t &p) | |
construct a set of openMHA configuration language variables suitable for configuring the FFT-based overlapping filterbank. More... | |
Public Attributes | |
scale_var_t | fscale |
Frequency scale type (lin/bark/log/erb). More... | |
scale_var_t | ovltype |
Filter shape (rect/lin/hann). More... | |
MHAParser::float_t | plateau |
relative plateau width. More... | |
MHAParser::kw_t | ftype |
Flag to decide wether edge or center frequencies are used. More... | |
fscale_t | f |
Frequency. More... | |
MHAParser::bool_t | normalize |
Normalize sum of channels. More... | |
MHAParser::bool_t | fail_on_nonmonotonic |
Fail if frequency entries are non-monotonic (otherwise sort) More... | |
MHAParser::bool_t | fail_on_unique_bins |
Fail if center frequencies share the same FFT bin. More... | |
MHAParser::bool_t | flag_allow_empty_bands |
Allow that frequency bands contain only zeros. More... | |
MHAParser::vfloat_mon_t | cf |
Final center frequencies in Hz. More... | |
MHAParser::vfloat_mon_t | ef |
Final edge frequencies in Hz. More... | |
MHAParser::vfloat_mon_t | cLTASS |
Bandwidth correction for LTASS noise (level of 0 dB RMS LTASS noise) More... | |
MHAParser::mfloat_mon_t | shapes |
Set of configuration variables for FFT-based overlapping filters.
This class enables easy configuration of the FFT-based overlapping filterbank. An instance of fftfb_vars_t creates openMHA configuration language variables needed for configuring the filterbank, and inserts these variables in the openMHA configuration tree.
This way, the variables are visible to the user and can be configured using the openMHA configuration language.
MHAOvlFilter::fftfb_vars_t::fftfb_vars_t | ( | MHAParser::parser_t & | p | ) |
construct a set of openMHA configuration language variables suitable for configuring the FFT-based overlapping filterbank.
p | The node of the configuration tree where the variables created by this instance are inserted. |
scale_var_t MHAOvlFilter::fftfb_vars_t::fscale |
Frequency scale type (lin/bark/log/erb).
scale_var_t MHAOvlFilter::fftfb_vars_t::ovltype |
Filter shape (rect/lin/hann).
MHAParser::float_t MHAOvlFilter::fftfb_vars_t::plateau |
relative plateau width.
MHAParser::kw_t MHAOvlFilter::fftfb_vars_t::ftype |
Flag to decide wether edge or center frequencies are used.
fscale_t MHAOvlFilter::fftfb_vars_t::f |
Frequency.
MHAParser::bool_t MHAOvlFilter::fftfb_vars_t::normalize |
Normalize sum of channels.
MHAParser::bool_t MHAOvlFilter::fftfb_vars_t::fail_on_nonmonotonic |
Fail if frequency entries are non-monotonic (otherwise sort)
MHAParser::bool_t MHAOvlFilter::fftfb_vars_t::fail_on_unique_bins |
Fail if center frequencies share the same FFT bin.
MHAParser::bool_t MHAOvlFilter::fftfb_vars_t::flag_allow_empty_bands |
Allow that frequency bands contain only zeros.
MHAParser::vfloat_mon_t MHAOvlFilter::fftfb_vars_t::cf |
Final center frequencies in Hz.
MHAParser::vfloat_mon_t MHAOvlFilter::fftfb_vars_t::ef |
Final edge frequencies in Hz.
MHAParser::vfloat_mon_t MHAOvlFilter::fftfb_vars_t::cLTASS |
Bandwidth correction for LTASS noise (level of 0 dB RMS LTASS noise)
MHAParser::mfloat_mon_t MHAOvlFilter::fftfb_vars_t::shapes |