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

Public Member Functions

 overlapadd_t (mhaconfig_t spar_in, mhaconfig_t spar_out, float wexp, float wndpos, const MHAParser::window_t &window, const MHAParser::window_t &zerowindow, float &prescale_fac, float &postscale_fac)
 
 ~overlapadd_t ()
 
mha_spec_twave2spec (mha_wave_t *)
 
mha_wave_tspec2wave (mha_spec_t *)
 

Private Member Functions

void wave2spec_hop_forward (mha_wave_t *)
 
void wave2spec_apply_window (void)
 
mha_spec_twave2spec_compute_fft (void)
 

Private Attributes

mha_fft_t fft
 
MHAWindow::base_t prewnd
 
MHAWindow::base_t postwnd
 
MHASignal::waveform_t wave_in1
 
MHASignal::waveform_t wave_out1
 
MHASignal::spectrum_t spec_in
 
MHASignal::waveform_t calc_out
 
MHASignal::waveform_t out_buf
 
MHASignal::waveform_t write_buf
 
unsigned int n_zero
 
unsigned int n_pad1
 
unsigned int n_pad2
 

Constructor & Destructor Documentation

◆ overlapadd_t()

overlapadd::overlapadd_t::overlapadd_t ( mhaconfig_t  spar_in,
mhaconfig_t  spar_out,
float  wexp,
float  wndpos,
const MHAParser::window_t window,
const MHAParser::window_t zerowindow,
float &  prescale_fac,
float &  postscale_fac 
)

◆ ~overlapadd_t()

overlapadd::overlapadd_t::~overlapadd_t ( )

Member Function Documentation

◆ wave2spec()

mha_spec_t * overlapadd::overlapadd_t::wave2spec ( mha_wave_t s)

◆ spec2wave()

mha_wave_t * overlapadd::overlapadd_t::spec2wave ( mha_spec_t s)

◆ wave2spec_hop_forward()

void overlapadd::overlapadd_t::wave2spec_hop_forward ( mha_wave_t s)
private

◆ wave2spec_apply_window()

void overlapadd::overlapadd_t::wave2spec_apply_window ( void  )
private

◆ wave2spec_compute_fft()

mha_spec_t * overlapadd::overlapadd_t::wave2spec_compute_fft ( void  )
private

Member Data Documentation

◆ fft

mha_fft_t overlapadd::overlapadd_t::fft
private

◆ prewnd

MHAWindow::base_t overlapadd::overlapadd_t::prewnd
private

◆ postwnd

MHAWindow::base_t overlapadd::overlapadd_t::postwnd
private

◆ wave_in1

MHASignal::waveform_t overlapadd::overlapadd_t::wave_in1
private

◆ wave_out1

MHASignal::waveform_t overlapadd::overlapadd_t::wave_out1
private

◆ spec_in

MHASignal::spectrum_t overlapadd::overlapadd_t::spec_in
private

◆ calc_out

MHASignal::waveform_t overlapadd::overlapadd_t::calc_out
private

◆ out_buf

MHASignal::waveform_t overlapadd::overlapadd_t::out_buf
private

◆ write_buf

MHASignal::waveform_t overlapadd::overlapadd_t::write_buf
private

◆ n_zero

unsigned int overlapadd::overlapadd_t::n_zero
private

◆ n_pad1

unsigned int overlapadd::overlapadd_t::n_pad1
private

◆ n_pad2

unsigned int overlapadd::overlapadd_t::n_pad2
private

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