![]()  | 
  
    The Open Master Hearing Aid (openMHA)
    openMHA
    
   Open community platform for hearing aid algorithm research 
   | 
 
Class which computes smoothed input levels on individual bands, using an attack and release filter, which are a first order low pass filter and a maximum tracker filter, respectively. More...

Public Member Functions | |
| level_smoother_t (const dc_vars_t &vars, mha_real_t filter_rate, mhaconfig_t buscfg) | |
| mha_wave_t * | process (mha_spec_t *s) | 
| Process callback.  More... | |
| mha_wave_t * | process (mha_wave_t *s) | 
| Process callback.  More... | |
Private Attributes | |
| MHAFilter::o1flt_lowpass_t | attack | 
| first order low pass attack filter  More... | |
| MHAFilter::o1flt_maxtrack_t | decay | 
| maximum tracker decay filter  More... | |
| unsigned int | nbands | 
| Total number of frequency bands of this compressor.  More... | |
| unsigned int | fftlen | 
| MHASignal::waveform_t | level_wave | 
| MHASignal::waveform_t | level_spec | 
Additional Inherited Members | |
  Private Member Functions inherited from dc_simple::dc_vars_validator_t | |
| dc_vars_validator_t (const dc_vars_t &v, unsigned int s) | |
Checks that all vectors in v have size s or size 1.  More... | |
Class which computes smoothed input levels on individual bands, using an attack and release filter, which are a first order low pass filter and a maximum tracker filter, respectively.
| dc_simple::level_smoother_t::level_smoother_t | ( | const dc_vars_t & | vars, | 
| mha_real_t | filter_rate, | ||
| mhaconfig_t | buscfg | ||
| ) | 
| mha_wave_t * dc_simple::level_smoother_t::process | ( | mha_spec_t * | s | ) | 
Process callback.
Computes smoothed levels from the input mha type spectrum by applying a lowpass and maximum tracker filter
| s | input signal | 
| mha_wave_t * dc_simple::level_smoother_t::process | ( | mha_wave_t * | s | ) | 
Process callback.
Computes smoothed levels from the input mha type waveform over individual bands by applying a lowpass and maximum tracker filter
| s | input/output signal | 
      
  | 
  private | 
first order low pass attack filter
      
  | 
  private | 
maximum tracker decay filter
      
  | 
  private | 
Total number of frequency bands of this compressor.
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private |