The Open Master Hearing Aid (openMHA)  openMHA
Open community platform for hearing aid algorithm research
MHAOvlFilter::overlap_save_filterbank_analytic_t Class Reference
Inheritance diagram for MHAOvlFilter::overlap_save_filterbank_analytic_t:
Inheritance graph

Public Member Functions

 overlap_save_filterbank_analytic_t (MHAOvlFilter::overlap_save_filterbank_t::vars_t &fbpar, mhaconfig_t channelconfig_in)
 
void filter_analytic (const mha_wave_t *sIn, mha_wave_t **fltRe, mha_wave_t **fltIm)
 
- Public Member Functions inherited from MHAOvlFilter::overlap_save_filterbank_t
 overlap_save_filterbank_t (MHAOvlFilter::overlap_save_filterbank_t::vars_t &fbpar, mhaconfig_t channelconfig_in)
 
mhaconfig_t get_channelconfig () const
 
- Public Member Functions inherited from MHAOvlFilter::fftfb_t
 fftfb_t (MHAOvlFilter::fftfb_vars_t &par, unsigned int nfft, mha_real_t fs)
 Constructor for a FFT-based overlapping filter bank. More...
 
 ~fftfb_t ()
 
void apply_gains (mha_spec_t *s_out, const mha_spec_t *s_in, const mha_wave_t *gains)
 
void get_fbpower (mha_wave_t *fbpow, const mha_spec_t *s_in)
 
void get_fbpower_db (mha_wave_t *fbpow, const mha_spec_t *s_in)
 
std::vector< mha_real_tget_ltass_gain_db () const
 
unsigned int bin1 (unsigned int band) const
 Return index of first non-zero filter shape window. More...
 
unsigned int bin2 (unsigned int band) const
 Return index of first zero filter shape window above center frequency. More...
 
unsigned int get_fftlen () const
 Return fft length. More...
 
mha_real_t w (unsigned int k, unsigned int b) const
 Return filter shape window at index k in band b. More...
 
- Public Member Functions inherited from MHAOvlFilter::fspacing_t
 fspacing_t (const MHAOvlFilter::fftfb_vars_t &par, unsigned int nfft, mha_real_t fs)
 
std::vector< unsigned int > get_cf_fftbin () const
 
std::vector< mha_real_tget_cf_hz () const
 
std::vector< mha_real_tget_ef_hz () const
 
unsigned int nbands () const
 Return number of bands in filter bank. More...
 
- Public Member Functions inherited from MHAFilter::fftfilterbank_t
 fftfilterbank_t (unsigned int fragsize, unsigned int inputchannels, unsigned int firchannels, unsigned int fftlen)
 Constructor. More...
 
 ~fftfilterbank_t ()
 
void update_coeffs (const mha_wave_t *h)
 Update the set of coefficients. More...
 
void filter (const mha_wave_t *s_in, mha_wave_t **s_out, const mha_wave_t *h)
 Apply filter with changing coefficients to a waveform fragment. More...
 
void filter (const mha_wave_t *s_in, mha_wave_t **s_out)
 Apply filter to waveform fragment, without changing the coefficients. More...
 
const mha_wave_tget_irs () const
 Return the current IRS. More...
 

Private Attributes

MHAFilter::fftfilterbank_t imagfb
 

Additional Inherited Members

- Protected Member Functions inherited from MHAOvlFilter::fspacing_t
void fail_on_nonmonotonic_cf ()
 
void fail_on_unique_fftbins ()
 
- Protected Attributes inherited from MHAOvlFilter::fspacing_t
std::vector< MHAOvlFilter::band_descriptor_tbands
 
mha_real_t(* symmetry_scale )(mha_real_t)
 

Constructor & Destructor Documentation

◆ overlap_save_filterbank_analytic_t()

MHAOvlFilter::overlap_save_filterbank_analytic_t::overlap_save_filterbank_analytic_t ( MHAOvlFilter::overlap_save_filterbank_t::vars_t fbpar,
mhaconfig_t  channelconfig_in 
)

Member Function Documentation

◆ filter_analytic()

void MHAOvlFilter::overlap_save_filterbank_analytic_t::filter_analytic ( const mha_wave_t sIn,
mha_wave_t **  fltRe,
mha_wave_t **  fltIm 
)

Member Data Documentation

◆ imagfb

MHAFilter::fftfilterbank_t MHAOvlFilter::overlap_save_filterbank_analytic_t::imagfb
private

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