The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
dynamic compression related classes and functions More...
Classes | |
class | dc_afterburn_vars_t |
Variables for dc_afterburn_t class. More... | |
class | dc_afterburn_rt_t |
Real-time class for after burn effect. More... | |
class | dc_afterburn_t |
Afterburn class, to be defined as a member of compressors. More... | |
class | gaintable_t |
Gain table class. More... | |
Functions | |
mha_real_t | interp1 (const std::vector< mha_real_t > &vX, const std::vector< mha_real_t > &vY, mha_real_t X) |
One-dimensional linear interpolation. More... | |
mha_real_t | interp2 (const std::vector< mha_real_t > &vX, const std::vector< mha_real_t > &vY, const std::vector< std::vector< mha_real_t > > &mZ, mha_real_t X, mha_real_t Y) |
Linear interpolation in a two-dimensional field. More... | |
dynamic compression related classes and functions
mha_real_t DynComp::interp1 | ( | const std::vector< mha_real_t > & | vX, |
const std::vector< mha_real_t > & | vY, | ||
mha_real_t | X | ||
) |
One-dimensional linear interpolation.
vX | Vector with input samples. |
vY | Vector with values at input samples. |
X | Input value to be interpolated. |
Interpolated | value Y(X) at position X. |
mha_real_t DynComp::interp2 | ( | const std::vector< mha_real_t > & | vX, |
const std::vector< mha_real_t > & | vY, | ||
const std::vector< std::vector< mha_real_t > > & | mZ, | ||
mha_real_t | X, | ||
mha_real_t | Y | ||
) |
Linear interpolation in a two-dimensional field.
vX | Vector with input samples, first dimension. |
vY | Vector with input samples, second dimension. |
mZ | Field with values at input samples. |
X | First dimension of input value to be interpolated. |
Y | Second dimension of input value to be interpolated. |
Interpolated | value Z(X,Y) at position X,Y. |