The Open Master Hearing Aid (openMHA)  openMHA
Open community platform for hearing aid algorithm research
ADM Namespace Reference

Classes

class  Linearphase_FIR
 An efficient linear-phase fir filter implementation. More...
 
class  Delay
 A delay-line class. More...
 
class  ADM
 Adaptive differential microphone, working for speech frequency range. More...
 

Functions

static double subsampledelay_coeff (double samples, double f_design, double fs=1.0)
 compute IIR coefficient for subsample delay More...
 

Variables

const double PI = 3.14159265358979312
 
const double C = 340
 
const double DELAY_FREQ = 2000
 
const double START_BETA = 0.5
 

Function Documentation

◆ subsampledelay_coeff()

static double ADM::subsampledelay_coeff ( double  samples,
double  f_design,
double  fs = 1.0 
)
static

compute IIR coefficient for subsample delay

Parameters
samplesConstraint: 0.0 <= samples < 1.0; Amount of sub-sample delay
f_designdesign frequency (subsample delay is accurate for this frequency)
fssampling rate
Returns
IIR coefficient for subsample delay

Variable Documentation

◆ PI

const double ADM::PI = 3.14159265358979312

◆ C

const double ADM::C = 340

◆ DELAY_FREQ

const double ADM::DELAY_FREQ = 2000

◆ START_BETA

const double ADM::START_BETA = 0.5