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

An audio fragment in the openMHA (planned as a replacement of mha_wave_t and mha_spec_t). More...

Public Attributes

mha_audio_descriptor_t descriptor
 Dimension and description of the data. More...
 
mha_real_trdata
 Data pointer if flag mha_audio_descriptor_t::is_complex is unset. More...
 
mha_complex_tcdata
 Data pointer if flag mha_audio_descriptor_t::is_complex is set. More...
 

Detailed Description

An audio fragment in the openMHA (planned as a replacement of mha_wave_t and mha_spec_t).

The data alignment is $(t_0,c_0,f_0),(t_0,c_0,f_1),\dots,(t_0,c_0,f_{freqs}),(t_0,c_1,f_0),\dots$. This allows a direct cast of the current mha_wave_t and mha_spec_t data pointers into corresponding mha_audio_t objects.

Member Data Documentation

◆ descriptor

mha_audio_descriptor_t mha_audio_t::descriptor

Dimension and description of the data.

◆ rdata

mha_real_t* mha_audio_t::rdata

Data pointer if flag mha_audio_descriptor_t::is_complex is unset.

◆ cdata

mha_complex_t* mha_audio_t::cdata

Data pointer if flag mha_audio_descriptor_t::is_complex is set.


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