The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Public Member Functions | |
cohflt_t (vars_t &v, const mhaconfig_t &icf, MHA_AC::algo_comm_t &iac, const std::string &name) | |
mha_spec_t * | process (mha_spec_t *) |
void | insert () |
Private Attributes | |
unsigned int | nbands |
bool | avg_ipd |
mha_complex_t | cg |
float | g |
float | c_scale |
float | c_min |
MHASignal::waveform_t | alpha |
float | limit |
MHAFilter::o1flt_lowpass_t | lp1r |
MHAFilter::o1flt_lowpass_t | lp1i |
MHA_AC::spectrum_t | coh_c |
MHA_AC::waveform_t | coh_rlp |
MHASignal::waveform_t | gain |
MHASignal::delay_wave_t | gain_delay |
MHASignal::spectrum_t | s_out |
bool | bInvert |
MHAFilter::o1flt_lowpass_t | lp1ltg |
bool | b_ltg |
std::vector< float > | staticgain |
Private Attributes inherited from MHAOvlFilter::fspacing_t | |
std::vector< MHAOvlFilter::band_descriptor_t > | bands |
mha_real_t(* | symmetry_scale )(mha_real_t) |
Private Attributes inherited from mhaconfig_t | |
unsigned int | channels |
Number of audio channels. More... | |
unsigned int | domain |
Signal domain (MHA_WAVEFORM or MHA_SPECTRUM) More... | |
unsigned int | fragsize |
Fragment size of waveform data. More... | |
unsigned int | wndlen |
Window length of spectral data. More... | |
unsigned int | fftlen |
FFT length of spectral data. More... | |
mha_real_t | srate |
Sampling rate in Hz. More... | |
Additional Inherited Members | |
Private 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_t > | get_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... | |
Private 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_t > | get_cf_hz () const |
std::vector< mha_real_t > | get_ef_hz () const |
unsigned int | nbands () const |
Return number of bands in filter bank. More... | |
void | fail_on_nonmonotonic_cf () |
void | fail_on_unique_fftbins () |
coherence::cohflt_t::cohflt_t | ( | vars_t & | v, |
const mhaconfig_t & | icf, | ||
MHA_AC::algo_comm_t & | iac, | ||
const std::string & | name | ||
) |
mha_spec_t * coherence::cohflt_t::process | ( | mha_spec_t * | s | ) |
void coherence::cohflt_t::insert | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |