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

Set of configuration variables for FFT-based overlapping filters. More...

Inheritance diagram for MHAOvlFilter::fftfb_vars_t:
Inheritance graph

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ fftfb_vars_t()

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.

Parameters
pThe node of the configuration tree where the variables created by this instance are inserted.

Member Data Documentation

◆ fscale

scale_var_t MHAOvlFilter::fftfb_vars_t::fscale

Frequency scale type (lin/bark/log/erb).

◆ ovltype

scale_var_t MHAOvlFilter::fftfb_vars_t::ovltype

Filter shape (rect/lin/hann).

◆ plateau

MHAParser::float_t MHAOvlFilter::fftfb_vars_t::plateau

relative plateau width.

◆ ftype

MHAParser::kw_t MHAOvlFilter::fftfb_vars_t::ftype

Flag to decide wether edge or center frequencies are used.

◆ f

fscale_t MHAOvlFilter::fftfb_vars_t::f

Frequency.

◆ normalize

MHAParser::bool_t MHAOvlFilter::fftfb_vars_t::normalize

Normalize sum of channels.

◆ fail_on_nonmonotonic

MHAParser::bool_t MHAOvlFilter::fftfb_vars_t::fail_on_nonmonotonic

Fail if frequency entries are non-monotonic (otherwise sort)

◆ fail_on_unique_bins

MHAParser::bool_t MHAOvlFilter::fftfb_vars_t::fail_on_unique_bins

Fail if center frequencies share the same FFT bin.

◆ flag_allow_empty_bands

MHAParser::bool_t MHAOvlFilter::fftfb_vars_t::flag_allow_empty_bands

Allow that frequency bands contain only zeros.

◆ cf

MHAParser::vfloat_mon_t MHAOvlFilter::fftfb_vars_t::cf

Final center frequencies in Hz.

◆ ef

MHAParser::vfloat_mon_t MHAOvlFilter::fftfb_vars_t::ef

Final edge frequencies in Hz.

◆ cLTASS

MHAParser::vfloat_mon_t MHAOvlFilter::fftfb_vars_t::cLTASS

Bandwidth correction for LTASS noise (level of 0 dB RMS LTASS noise)

◆ shapes

MHAParser::mfloat_mon_t MHAOvlFilter::fftfb_vars_t::shapes

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