![]() |
The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Minimal phase function. More...

Public Member Functions | |
| minphase_t (unsigned int fftlen, unsigned int ch) | |
| Constructor. More... | |
| void | operator() (mha_spec_t *s) |
| Transform input spectrum to a minimal-phase spectrum, discarding the original phase. More... | |
Private Attributes | |
| MHASignal::waveform_t | phase |
Additional Inherited Members | |
Private Member Functions inherited from MHASignal::hilbert_t | |
| hilbert_t (unsigned int len) | |
| ~hilbert_t () | |
| void | operator() (const mha_wave_t *, mha_wave_t *) |
| Apply Hilbert transformation on a waveform segment. More... | |
Minimal phase function.
The output spectrum
is
with the input spectrum
and the Hilbert transformation
.
| MHASignal::minphase_t::minphase_t | ( | unsigned int | fftlen, |
| unsigned int | ch | ||
| ) |
Constructor.
| fftlen | FFT length |
| ch | Number of channels |
| void MHASignal::minphase_t::operator() | ( | mha_spec_t * | s | ) |
Transform input spectrum to a minimal-phase spectrum, discarding the original phase.
| s | Spectrum to operate on. |
|
private |