![]() |
The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
This abstract class defines the interface for classes that implement all types of signal domain processing supported by the MHA: wave2wave, spec2spec, wave2spec, and spec2wave. More...

Public Member Functions | |
| virtual void | process (mha_wave_t *s_in, mha_wave_t **s_out)=0 |
| Pure waveform processing. More... | |
| virtual void | process (mha_spec_t *s_in, mha_spec_t **s_out)=0 |
| Pure spectrum processing. More... | |
| virtual void | process (mha_wave_t *s_in, mha_spec_t **s_out)=0 |
| Signal processing with domain transformation from waveform to spectrum. More... | |
| virtual void | process (mha_spec_t *s_in, mha_wave_t **s_out)=0 |
| Signal processing with domain transformation from spectrum to waveform. More... | |
| virtual void | prepare (mhaconfig_t &settings)=0 |
| Prepares the processor for signal processing. More... | |
| virtual void | release ()=0 |
| Resources allocated for signal processing in fourway_processor_t::prepare are released here in fourway_processor_t::release. More... | |
| virtual std::string | parse (const std::string &query)=0 |
| Parser interface. More... | |
| virtual | ~fourway_processor_t () |
| Classes with virtual methods need virtual destructor. More... | |
This abstract class defines the interface for classes that implement all types of signal domain processing supported by the MHA: wave2wave, spec2spec, wave2spec, and spec2wave.
For supporting different output domains for the same input domain, the processing methods are overloaded with respect to input domain and output domain.
|
inlinevirtual |
Classes with virtual methods need virtual destructor.
This destructor is empty.
|
pure virtual |
Pure waveform processing.
| s_in | input waveform signal |
| s_out | output waveform signal |
Implemented in PluginLoader::mhapluginloader_t.
|
pure virtual |
Pure spectrum processing.
| s_in | input spectrum signal |
| s_out | output spectrum signal |
Implemented in PluginLoader::mhapluginloader_t.
|
pure virtual |
Signal processing with domain transformation from waveform to spectrum.
| s_in | input waveform signal |
| s_out | output spectrum signal |
Implemented in PluginLoader::mhapluginloader_t.
|
pure virtual |
Signal processing with domain transformation from spectrum to waveform.
| s_in | input spectrum signal |
| s_out | output waveform signal |
Implemented in PluginLoader::mhapluginloader_t.
|
pure virtual |
Prepares the processor for signal processing.
| settings | domain and dimensions of the signal. The contents of settings may be modified by the prepare implementation. Upon calling fourway_processor_t::prepare, settings reflects domain and dimensions of the input signal. When fourway_processor_t::prepare returns, settings reflects domain and dimensions of the output signal. |
Implemented in plug_t, mhaplug_cfg_t, and PluginLoader::mhapluginloader_t.
|
pure virtual |
Resources allocated for signal processing in fourway_processor_t::prepare are released here in fourway_processor_t::release.
Implemented in plug_t, mhaplug_cfg_t, and PluginLoader::mhapluginloader_t.
|
pure virtual |
Parser interface.
Implemented in PluginLoader::mhapluginloader_t, and plug_wrapper.