The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Public Member Functions | |
fftfilter_t (const MHAParser::mfloat_t &irs, const unsigned int &fragsize, const unsigned int &channels, const unsigned int &fftlen) | |
Initialization of new run-time configuration from channel-specific impulse responses. More... | |
mha_wave_t * | process (mha_wave_t *) |
Private Attributes | |
unsigned int | irslen |
Length of the longest impulse response applied. More... | |
unsigned int | fragsize |
The block size (samples per channel) for waveform audio data. More... | |
unsigned int | fftlen |
FFT length used for filtering. More... | |
unsigned int | channels |
Number of prepared audio channels processed by this MHA plugin. More... | |
MHAFilter::fftfilter_t | fftfilt |
The filter object. More... | |
Run-time configuration class for the fftfilter MHA plugin.
fftfilter::fftfilter_t::fftfilter_t | ( | const MHAParser::mfloat_t & | irs, |
const unsigned int & | fragsize_, | ||
const unsigned int & | channels_, | ||
const unsigned int & | fftlen_ | ||
) |
Initialization of new run-time configuration from channel-specific impulse responses.
irs | The matrix containing the impulse responses (one response per channel, or the same response for every channels) as set by the parser. |
fragsize_ | The block size (samples per channel) for waveform audio data |
channels_ | The number of prepared audio channels for this MHA plugin. |
fftlen_ | FFT length used for filtering |
mha_wave_t * fftfilter::fftfilter_t::process | ( | mha_wave_t * | s | ) |
Let fftfiler object handle the filtering
|
private |
Length of the longest impulse response applied.
|
private |
The block size (samples per channel) for waveform audio data.
|
private |
FFT length used for filtering.
|
private |
Number of prepared audio channels processed by this MHA plugin.
|
private |
The filter object.