The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Real-time class for after burn effect. More...
Public Member Functions | |
dc_afterburn_rt_t (const std::vector< float > &cf, unsigned int channels, float srate, const dc_afterburn_vars_t &vars) | |
void | burn (float &Gin, float Lin, unsigned int band, unsigned int channel) |
gain modifier method (afterburn). More... | |
Private Attributes | |
std::vector< float > | drain_inv |
std::vector< float > | conflux |
std::vector< float > | maxgain |
std::vector< float > | mpo_inv |
std::vector< MHAFilter::o1flt_lowpass_t > | lp |
Real-time class for after burn effect.
The constructor processes the parameters and creates pre-processed variables for efficient realtime processing.
DynComp::dc_afterburn_rt_t::dc_afterburn_rt_t | ( | const std::vector< float > & | cf, |
unsigned int | channels, | ||
float | srate, | ||
const dc_afterburn_vars_t & | vars | ||
) |
|
inline |
gain modifier method (afterburn).
Gin | Linear gain. |
Lin | Input level (Pascal). |
band | Filter band number. |
channel | Channel number. |
Output level for MPO is estimated by Gin * Lin.
|
private |
|
private |
|
private |
|
private |
|
private |