|
LibXtract 1.6.0
|
A structure to store a set of n_filters Mel filters. More...
#include <libxtract.h>
Data Fields | |
| int | n_filters |
| double ** | filters |
| double * | dct_table |
A structure to store a set of n_filters Mel filters.
Zero-initialise the structure, or set every field, before passing it to a feature function. The feature functions accept any n_filters of at least 1, so a structure filled by hand may hold a single filter; xtract_init_mfcc() and xtract_init_gfcc() build at least 2. dct_table is the cosine table used by xtract_mfcc() and xtract_gfcc() for their final DCT: either the result of xtract_init_dct(n_filters), which the caller frees with xtract_free_dct(), or NULL to have the cosines evaluated on each call.