Logo
Speech Recognizer Project API Guide  v1.00.00.00
MinHMM Memory Allocation Defines

Macro definitions that the application uses to allocate memory for MinHMM. More...

Macros

#define MINHMM_SAMPLE_RATE   (8000)
 Audio sample rate.
 
#define MINHMM_FRAME_SAMPLES   (160)
 Audio samples per frame.
 
#define MINHMM_MODELS_OVERHEAD   (5)
 Model overhead in int_least16_t.
 
#define MINHMM_MODELS_NAME_CHARS   (16)
 Number of characters in model name string including trailing NULL.
 
#define MINHMM_MODELS_OBS_DATA   (16)
 Number of int_least16_t values per observation in a model.
 
#define MINHMM_P_MULT   (2)
 Persistent data size multiplier on max model observations.
 
#define MINHMM_M16_MULT   (39)
 Temporary int_least16_t memory multiplier on max model observations.
 
#define MINHMM_M16_ADD   (16)
 Additional temporary int_least16_t memory needed.
 
#define MINHMM_MODELS_IN_FLASH   (0)
 Value for specifying models in Flash. More...
 
#define MINHMM_MODELS_IN_RAM   (1)
 Value for specifying models in RAM. More...
 

Detailed Description

Macro definitions that the application uses to allocate memory for MinHMM.

Macro Definition Documentation

#define MINHMM_MODELS_IN_FLASH   (0)

Value for specifying models in Flash.

See MinHMM_ModelStorageEnum.

#define MINHMM_MODELS_IN_RAM   (1)

Value for specifying models in RAM.

See MinHMM_ModelStorageEnum.