87 #include <sphinxbase/sphinxbase_export.h>
89 #include <sphinxbase/fe.h>
137 cmn_t* cmn_init(int32 veclen);
151 #define CMN_WIN_HWM 800
SPHINXBASE_EXPORT void cmn_live_set(cmn_t *cmn, mfcc_t const *vec)
Set the live mean.
Basic type definitions used in Sphinx.
SPHINXBASE_EXPORT void cmn(cmn_t *cmn, mfcc_t **mfc, int32 varnorm, int32 n_frame)
CMN for the whole sentence.
SPHINXBASE_EXPORT void cmn_live_get(cmn_t *cmn, mfcc_t *vec)
Get the live mean.
SPHINXBASE_EXPORT cmn_type_t cmn_type_from_str(const char *str)
Convert string representation (from command-line) to cmn_type_t.
wrapper of operation of the cepstral mean normalization.
enum cmn_type_e cmn_type_t
Types of cepstral mean normalization to apply to the features.
SPHINXBASE_EXPORT const char * cmn_type_str[]
String representations of cmn_type_t values.
SPHINXBASE_EXPORT void cmn_live(cmn_t *cmn, mfcc_t **incep, int32 varnorm, int32 nfr)
CMN for one block of data, using live mean.
cmn_type_e
Types of cepstral mean normalization to apply to the features.
mfcc_t * cmn_mean
Temporary variable: current means.
mfcc_t * cmn_var
Temporary variables: stored the cmn variance.
mfcc_t * sum
The sum of the cmn frames.
SPHINXBASE_EXPORT void cmn_live_update(cmn_t *cmn)
Update live mean based on observed data.
int32 veclen
Length of cepstral vector.
int32 nframe
Number of frames.