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

Classes

struct  comm_var_t
 Algorithm communication variable structure. More...
 
class  spectrum_t
 Convenience class for inserting a spectrum into the AC space. More...
 
class  waveform_t
 Convenience class for inserting a waveform (a block of time-domain audio signal) into the AC space. More...
 
class  stat_t
 
class  ac2matrix_helper_t
 
class  ac2matrix_t
 Copy AC variable to a matrix. More...
 
class  acspace2matrix_t
 Copy all or a subset of all numeric AC variables into an array of matrixes. More...
 
class  comm_var_map_t
 Storage class for the AC variable space. More...
 
class  algo_comm_t
 Algorithm communication variable space interface. More...
 
class  algo_comm_class_t
 AC variable space implementation. More...
 
class  scalar_t
 Template for convenience classes for inserting a numeric scalar into the AC space. More...
 

Typedefs

typedef scalar_t< int, MHA_AC_INTint_t
 Convenience class for inserting an integer variable into the AC space. More...
 
typedef scalar_t< float, MHA_AC_FLOATfloat_t
 Convenience class for inserting a single-precision floating-point variable into the AC space. More...
 
typedef scalar_t< double, MHA_AC_DOUBLEdouble_t
 Convenience class for inserting a double-precision floating-point variable into the AC space. More...
 

Functions

mha_spec_t get_var_spectrum (algo_comm_t &ac, const std::string &name)
 Convert an AC variable into a spectrum. More...
 
mha_wave_t get_var_waveform (algo_comm_t &ac, const std::string &name)
 Convert an AC variable into a waveform. More...
 
int get_var_int (algo_comm_t &ac, const std::string &name)
 Return value of an integer scalar AC variable. More...
 
float get_var_float (algo_comm_t &ac, const std::string &name)
 Return value of an floating point scalar AC variable. More...
 
std::vector< float > get_var_vfloat (algo_comm_t &ac, const std::string &name)
 Return value of an floating point vector AC variable as standard vector of floats. More...
 

Typedef Documentation

◆ int_t

Convenience class for inserting an integer variable into the AC space.

◆ float_t

Convenience class for inserting a single-precision floating-point variable into the AC space.

◆ double_t

Convenience class for inserting a double-precision floating-point variable into the AC space.