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

MHA prepare configuration structure. More...

Inheritance diagram for mhaconfig_t:
Inheritance graph

Public Attributes

unsigned int channels
 Number of audio channels. More...
 
unsigned int domain
 Signal domain (MHA_WAVEFORM or MHA_SPECTRUM) More...
 
unsigned int fragsize
 Fragment size of waveform data. More...
 
unsigned int wndlen
 Window length of spectral data. More...
 
unsigned int fftlen
 FFT length of spectral data. More...
 
mha_real_t srate
 Sampling rate in Hz. More...
 

Detailed Description

MHA prepare configuration structure.

This structure contains information about channel number and domain for input and output signals of a openMHA Plugin. Each plugin can change any of these parameters, e.g. by resampling of the signal. The only limitation is that the callback frequency is fixed (except for the plugins db and dbasync).

Member Data Documentation

◆ channels

unsigned int mhaconfig_t::channels

Number of audio channels.

◆ domain

unsigned int mhaconfig_t::domain

Signal domain (MHA_WAVEFORM or MHA_SPECTRUM)

◆ fragsize

unsigned int mhaconfig_t::fragsize

Fragment size of waveform data.

◆ wndlen

unsigned int mhaconfig_t::wndlen

Window length of spectral data.

◆ fftlen

unsigned int mhaconfig_t::fftlen

FFT length of spectral data.

◆ srate

mha_real_t mhaconfig_t::srate

Sampling rate in Hz.


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