The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
MHA prepare configuration structure. More...
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... | |
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
).
unsigned int mhaconfig_t::channels |
Number of audio channels.
unsigned int mhaconfig_t::domain |
Signal domain (MHA_WAVEFORM or MHA_SPECTRUM)
unsigned int mhaconfig_t::fragsize |
Fragment size of waveform data.
unsigned int mhaconfig_t::wndlen |
Window length of spectral data.
unsigned int mhaconfig_t::fftlen |
FFT length of spectral data.
mha_real_t mhaconfig_t::srate |
Sampling rate in Hz.