The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Header file for IIR filter classes. More...
Classes | |
class | MHAFilter::filter_t |
Generic IIR filter class. More... | |
class | MHAFilter::diff_t |
Differentiator class (non-normalized) More... | |
class | MHAFilter::o1_ar_filter_t |
First order attack-release lowpass filter. More... | |
class | MHAFilter::o1flt_lowpass_t |
First order low pass filter. More... | |
class | MHAFilter::o1flt_maxtrack_t |
First order maximum tracker. More... | |
class | MHAFilter::o1flt_mintrack_t |
First order minimum tracker. More... | |
class | MHAFilter::iir_filter_state_t |
class | MHAFilter::iir_filter_t |
IIR filter class wrapper for integration into parser structure. More... | |
class | MHAFilter::adapt_filter_state_t |
class | MHAFilter::adapt_filter_param_t |
class | MHAFilter::adapt_filter_t |
Adaptive filter. More... | |
class | MHAFilter::fftfilter_t |
FFT based FIR filter implementation. More... | |
class | MHAFilter::fftfilterbank_t |
FFT based FIR filterbank implementation. More... | |
struct | MHAFilter::transfer_function_t |
a structure containing a source channel number, a target channel number, and an impulse response. More... | |
struct | MHAFilter::transfer_matrix_t |
A sparse matrix of transfer function partitionss. More... | |
class | MHAFilter::partitioned_convolution_t |
A filter class for partitioned convolution. More... | |
struct | MHAFilter::partitioned_convolution_t::index_t |
Bookkeeping class. More... | |
class | MHAFilter::smoothspec_t |
Smooth spectral gains, create a windowed impulse response. More... | |
class | MHAFilter::resampling_filter_t |
Hann shaped low pass filter for resampling. More... | |
class | MHAFilter::polyphase_resampling_t |
A class that performs polyphase resampling. More... | |
class | MHAFilter::blockprocessing_polyphase_resampling_t |
A class that does polyphase resampling and takes into account block processing. More... | |
class | MHAFilter::iir_ord1_real_t |
First order recursive filter. More... | |
Namespaces | |
MHAFilter | |
Namespace for IIR and FIR filter classes. | |
Functions | |
template<typename T , typename std::enable_if< std::is_floating_point< T >::value, T >::type * = nullptr> | |
void | MHAFilter::make_friendly_number (T &x) |
void | MHAFilter::o1_lp_coeffs (const mha_real_t tau, const mha_real_t fs, mha_real_t &c1, mha_real_t &c2) |
Set first order filter coefficients from time constant and sampling rate. More... | |
void | MHAFilter::butter_stop_ord1 (double *A, double *B, double f1, double f2, double fs) |
Setup a first order butterworth band stop filter. More... | |
std::vector< float > | MHAFilter::fir_lp (float f_pass_, float f_stop_, float fs_, unsigned order_) |
Setup a nth order fir low pass filter. More... | |
MHASignal::waveform_t * | MHAFilter::spec2fir (const mha_spec_t *spec, const unsigned int fftlen, const MHAWindow::base_t &window, const bool minphase) |
Create a windowed impulse response/FIR filter coefficients from a spectrum. More... | |
unsigned | MHAFilter::gcd (unsigned a, unsigned b) |
greatest common divisor More... | |
double | MHAFilter::sinc (double x) |
sin(x)/x function, coping with x=0. More... | |
std::pair< unsigned, unsigned > | MHAFilter::resampling_factors (float source_sampling_rate, float target_sampling_rate, float factor=1.0f) |
Computes rational resampling factor from two sampling rates. More... | |
Header file for IIR filter classes.