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

Public Member Functions

 rt_nlms_t (MHA_AC::algo_comm_t &iac, const std::string &name, const mhaconfig_t &cfg, unsigned int ntaps_, const std::string &name_u, const std::string &name_d, const std::string &name_e, const std::string &name_f, const int n_no_update)
 
 ~rt_nlms_t ()
 
mha_wave_tprocess (mha_wave_t *sUD, mha_real_t rho, mha_real_t c, unsigned int norm_type, unsigned int estim_type, mha_real_t lambda_smooth)
 
void insert ()
 

Private Attributes

MHA_AC::algo_comm_tac
 
unsigned int ntaps
 
unsigned int frames
 
unsigned int channels
 
MHA_AC::waveform_t F
 
MHASignal::waveform_t U
 Input signal cache. More...
 
MHASignal::waveform_t Uflt
 Input signal cache (second filter) More...
 
MHASignal::waveform_t Pu
 Power of input signal delayline. More...
 
MHASignal::waveform_t fu
 Filtered input signal. More...
 
MHASignal::waveform_t fuflt
 Filtered input signal. More...
 
MHASignal::waveform_t fu_previous
 
MHASignal::waveform_t y_previous
 
MHASignal::waveform_t P_Sum
 
std::string name_u_
 
std::string name_d_
 
std::string name_e_
 
int n_no_update_
 
int no_iter
 
mha_wave_t s_E
 

Constructor & Destructor Documentation

◆ rt_nlms_t()

rt_nlms_t::rt_nlms_t ( MHA_AC::algo_comm_t iac,
const std::string &  name,
const mhaconfig_t cfg,
unsigned int  ntaps_,
const std::string &  name_u,
const std::string &  name_d,
const std::string &  name_e,
const std::string &  name_f,
const int  n_no_update 
)

◆ ~rt_nlms_t()

rt_nlms_t::~rt_nlms_t ( )
inline

Member Function Documentation

◆ process()

mha_wave_t * rt_nlms_t::process ( mha_wave_t sUD,
mha_real_t  rho,
mha_real_t  c,
unsigned int  norm_type,
unsigned int  estim_type,
mha_real_t  lambda_smooth 
)

◆ insert()

void rt_nlms_t::insert ( )

Member Data Documentation

◆ ac

MHA_AC::algo_comm_t& rt_nlms_t::ac
private

◆ ntaps

unsigned int rt_nlms_t::ntaps
private

◆ frames

unsigned int rt_nlms_t::frames
private

◆ channels

unsigned int rt_nlms_t::channels
private

◆ F

MHA_AC::waveform_t rt_nlms_t::F
private

◆ U

MHASignal::waveform_t rt_nlms_t::U
private

Input signal cache.

◆ Uflt

MHASignal::waveform_t rt_nlms_t::Uflt
private

Input signal cache (second filter)

◆ Pu

MHASignal::waveform_t rt_nlms_t::Pu
private

Power of input signal delayline.

◆ fu

MHASignal::waveform_t rt_nlms_t::fu
private

Filtered input signal.

◆ fuflt

MHASignal::waveform_t rt_nlms_t::fuflt
private

Filtered input signal.

◆ fu_previous

MHASignal::waveform_t rt_nlms_t::fu_previous
private

◆ y_previous

MHASignal::waveform_t rt_nlms_t::y_previous
private

◆ P_Sum

MHASignal::waveform_t rt_nlms_t::P_Sum
private

◆ name_u_

std::string rt_nlms_t::name_u_
private

◆ name_d_

std::string rt_nlms_t::name_d_
private

◆ name_e_

std::string rt_nlms_t::name_e_
private

◆ n_no_update_

int rt_nlms_t::n_no_update_
private

◆ no_iter

int rt_nlms_t::no_iter
private

◆ s_E

mha_wave_t rt_nlms_t::s_E
private

The documentation for this class was generated from the following file: