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

Description of an audio fragment (planned as a replacement of mhaconfig_t). More...

Public Attributes

unsigned int n_samples
 Number of samples. More...
 
unsigned int n_channels
 Number of audio channels. More...
 
unsigned int n_freqs
 Number of frequency bands. More...
 
unsigned int is_complex
 Flag about sample type. More...
 
mha_real_t dt
 Time distance between samples (only equidistant samples allowed) More...
 
mha_real_tcf
 Center frequencies of frequency bands. More...
 
mha_real_tchdir
 Hint on source direction of channel, values below zero is left, values above zero is right, zero means unknown. More...
 

Detailed Description

Description of an audio fragment (planned as a replacement of mhaconfig_t).

Member Data Documentation

◆ n_samples

unsigned int mha_audio_descriptor_t::n_samples

Number of samples.

◆ n_channels

unsigned int mha_audio_descriptor_t::n_channels

Number of audio channels.

◆ n_freqs

unsigned int mha_audio_descriptor_t::n_freqs

Number of frequency bands.

◆ is_complex

unsigned int mha_audio_descriptor_t::is_complex

Flag about sample type.

◆ dt

mha_real_t mha_audio_descriptor_t::dt

Time distance between samples (only equidistant samples allowed)

◆ cf

mha_real_t* mha_audio_descriptor_t::cf

Center frequencies of frequency bands.

◆ chdir

mha_real_t* mha_audio_descriptor_t::chdir

Hint on source direction of channel, values below zero is left, values above zero is right, zero means unknown.


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