The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Classes | |
class | waveform_proxy_t |
Class helps to specify which instance of MHASignal_waveform_t parent instance is meant in resampled_soundfile_t. More... | |
class | resampled_soundfile_t |
Reads sound from file and resamples it if necessary and wanted. More... | |
class | sndfile_t |
class | level_adapt_t |
class | addsndfile_if_t |
Typedefs | |
typedef MHAPlugin::config_t< level_adapt_t > | level_adaptor |
typedef MHAPlugin::plugin_t< sndfile_t > | wave_reader |
Enumerations | |
enum | addsndfile_resampling_mode_t { DONT_RESAMPLE_PERMISSIVE , DONT_RESAMPLE_STRICT , DO_RESAMPLE } |
Specifies the resampling mode in resampled_soundfile_t. More... | |
Functions | |
static unsigned | resampled_num_frames (unsigned num_source_frames, float source_rate, float target_rate, addsndfile_resampling_mode_t resampling_mode) |
Specifies the resampling mode in resampled_soundfile_t.
Enumerator | |
---|---|
DONT_RESAMPLE_PERMISSIVE | |
DONT_RESAMPLE_STRICT | Do not resample, if the sample rate of the MHA differs from the sample rate of the sound file, raise an error. |
DO_RESAMPLE | Resample. |
|
static |