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

Public Member Functions

 lpc_config (MHA_AC::algo_comm_t &ac, const mhaconfig_t in_cfg, std::string &algo_name, unsigned int _order, unsigned int _lpc_buffer_size, bool _shift, unsigned int _comp_each_iter, bool _norm)
 
 ~lpc_config ()
 
mha_wave_tprocess (mha_wave_t *)
 
void insert ()
 

Private Attributes

bool norm
 
bool shift
 
unsigned int comp_each_iter
 
unsigned int order
 
unsigned int lpc_buffer_size
 
unsigned int N
 
unsigned int comp_iter
 
mha_wave_t sample
 
std::vector< mha_real_tR
 
std::vector< mha_real_tA
 
MHASignal::ringbuffer_t inwave
 
MHA_AC::waveform_t lpc_out
 
MHA_AC::waveform_t corr_out
 

Constructor & Destructor Documentation

◆ lpc_config()

lpc_config::lpc_config ( MHA_AC::algo_comm_t ac,
const mhaconfig_t  in_cfg,
std::string &  algo_name,
unsigned int  _order,
unsigned int  _lpc_buffer_size,
bool  _shift,
unsigned int  _comp_each_iter,
bool  _norm 
)

◆ ~lpc_config()

lpc_config::~lpc_config ( )

Member Function Documentation

◆ process()

mha_wave_t * lpc_config::process ( mha_wave_t wave)

◆ insert()

void lpc_config::insert ( )

Member Data Documentation

◆ norm

bool lpc_config::norm
private

◆ shift

bool lpc_config::shift
private

◆ comp_each_iter

unsigned int lpc_config::comp_each_iter
private

◆ order

unsigned int lpc_config::order
private

◆ lpc_buffer_size

unsigned int lpc_config::lpc_buffer_size
private

◆ N

unsigned int lpc_config::N
private

◆ comp_iter

unsigned int lpc_config::comp_iter
private

◆ sample

mha_wave_t lpc_config::sample
private

◆ R

std::vector<mha_real_t> lpc_config::R
private

◆ A

std::vector<mha_real_t> lpc_config::A
private

◆ inwave

MHASignal::ringbuffer_t lpc_config::inwave
private

◆ lpc_out

MHA_AC::waveform_t lpc_config::lpc_out
private

◆ corr_out

MHA_AC::waveform_t lpc_config::corr_out
private

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