|
| | adm_rtconfig_t (unsigned nchannels_in, unsigned nchannels_out, int adaptation_ratio_, const std::vector< int > &front_channels, const std::vector< int > &rear_channels, const mha_real_t fs, const std::vector< mha_real_t > &distances, const int lp_order, const int decomb_order, const std::vector< mha_real_t > &tau_beta, const std::vector< mha_real_t > &mu_beta) |
| | Construct new ADMs. More...
|
| |
| virtual | ~adm_rtconfig_t () |
| |
| size_t | num_adms () const |
| |
| adm_t & | adm (unsigned index) |
| | Returns adm object number index. More...
|
| |
| int | front_channel (unsigned index) const |
| | Returns index of front channel for adm number index. More...
|
| |
| int | rear_channel (unsigned index) const |
| | Returns index of rear channel for adm number index. More...
|
| |
| int | get_adaptation_ratio () const |
| |
◆ adm_t
◆ adm_rtconfig_t()
| adm_rtconfig_t::adm_rtconfig_t |
( |
unsigned |
nchannels_in, |
|
|
unsigned |
nchannels_out, |
|
|
int |
adaptation_ratio_, |
|
|
const std::vector< int > & |
front_channels, |
|
|
const std::vector< int > & |
rear_channels, |
|
|
const mha_real_t |
fs, |
|
|
const std::vector< mha_real_t > & |
distances, |
|
|
const int |
lp_order, |
|
|
const int |
decomb_order, |
|
|
const std::vector< mha_real_t > & |
tau_beta, |
|
|
const std::vector< mha_real_t > & |
mu_beta |
|
) |
| |
Construct new ADMs.
Used when configuration changes.
- Parameters
-
| nchannels_in | Number of input channels |
| nchannels_out | Number of output channels |
| adaptation_ratio_ | Update beta every adaptation_ratio frames |
| front_channels | Parser's front_channels setting |
| rear_channels | Parser's front_channels setting |
| fs | Sampling rate / Hz |
| distances | Distances between microphones / m |
| lp_order | Filter order of FIR lowpass filter for adaptation |
| decomb_order | Filter order of FIR compensation filter (compensates for comb filter characteristic) |
| tau_beta | Time constants of the lowpass filter used for averaging the power of the output signal used for adaptation |
| mu_beta | Adaptation step sizes |
◆ ~adm_rtconfig_t()
| adm_rtconfig_t::~adm_rtconfig_t |
( |
| ) |
|
|
virtual |
◆ check_index()
| void adm_rtconfig_t::check_index |
( |
unsigned |
index | ) |
const |
|
inlineprivate |
Index checking for all internal arrays.
- Exceptions
-
◆ num_adms()
| size_t adm_rtconfig_t::num_adms |
( |
| ) |
const |
|
inline |
◆ adm()
| adm_t& adm_rtconfig_t::adm |
( |
unsigned |
index | ) |
|
|
inline |
Returns adm object number index.
◆ front_channel()
| int adm_rtconfig_t::front_channel |
( |
unsigned |
index | ) |
const |
|
inline |
Returns index of front channel for adm number index.
◆ rear_channel()
| int adm_rtconfig_t::rear_channel |
( |
unsigned |
index | ) |
const |
|
inline |
Returns index of rear channel for adm number index.
◆ get_adaptation_ratio()
| int adm_rtconfig_t::get_adaptation_ratio |
( |
| ) |
const |
|
inline |
◆ front_channels
| std::vector<int> adm_rtconfig_t::front_channels |
|
private |
Indices of channels containing the signals from the front microphones.
◆ rear_channels
| std::vector<int> adm_rtconfig_t::rear_channels |
|
private |
Indices of channels containing the signals from the rear microphones.
◆ adaptation_ratio
| int adm_rtconfig_t::adaptation_ratio |
|
private |
◆ lp_coeffs
Lowpass filter coefficients.
◆ decomb_coeffs
Decomb-Filter coefficients.
◆ adms
| std::vector<adm_t *> adm_rtconfig_t::adms |
|
private |
The documentation for this class was generated from the following file: