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

Waveform signal structure. More...

Inheritance diagram for mha_wave_t:
Inheritance graph

Public Attributes

mha_real_tbuf
 signal buffer More...
 
unsigned int num_channels
 number of channels More...
 
unsigned int num_frames
 number of frames in each channel More...
 
mha_channel_info_tchannel_info
 detailed channel description More...
 

Detailed Description

Waveform signal structure.

This structure contains one fragment of a waveform signal. The member num_frames describes the number of audio samples in each audio channel.

In a calibrated openMHA, audio samples are stored in unit Pascal, see Central Calibration.

The field channel_info must be an array of num_channels entries or NULL.

Member Data Documentation

◆ buf

mha_real_t* mha_wave_t::buf

signal buffer

◆ num_channels

unsigned int mha_wave_t::num_channels

number of channels

◆ num_frames

unsigned int mha_wave_t::num_frames

number of frames in each channel

◆ channel_info

mha_channel_info_t* mha_wave_t::channel_info

detailed channel description


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