Mercurial > hg > libxtract
comparison xtract/libxtract.h @ 244:8c768f32a6a8
Add new helper function xtract_smoothed(), e.g. can be used to extract smoothed spectrum
author | Jamie Bullock <jamie@jamiebullock.com> |
---|---|
date | Fri, 06 Jun 2014 09:55:01 +0100 |
parents | 44401945d850 |
children | 4a9a0c872494 |
comparison
equal
deleted
inserted
replaced
243:d13189c1005c | 244:8c768f32a6a8 |
---|---|
69 * | 69 * |
70 * Defines a very simple API that provides access to the functions in the library | 70 * Defines a very simple API that provides access to the functions in the library |
71 * @{ | 71 * @{ |
72 */ | 72 */ |
73 | 73 |
74 #define XTRACT_FEATURES 61 | 74 #define XTRACT_FEATURES 62 |
75 | 75 |
76 /** \brief Enumeration of features, elements are used as indixes to an array of pointers to feature extracton functions */ | 76 /** \brief Enumeration of features, elements are used as indixes to an array of pointers to feature extracton functions */ |
77 enum xtract_features_ { | 77 enum xtract_features_ { |
78 XTRACT_MEAN, | 78 XTRACT_MEAN, |
79 XTRACT_VARIANCE, | 79 XTRACT_VARIANCE, |
135 XTRACT_HARMONIC_SPECTRUM, | 135 XTRACT_HARMONIC_SPECTRUM, |
136 XTRACT_LPC, | 136 XTRACT_LPC, |
137 XTRACT_LPCC, | 137 XTRACT_LPCC, |
138 XTRACT_SUBBANDS, | 138 XTRACT_SUBBANDS, |
139 /* Helper functions */ | 139 /* Helper functions */ |
140 XTRACT_WINDOWED | 140 XTRACT_WINDOWED, |
141 XTRACT_SMOOTHED | |
141 }; | 142 }; |
142 | 143 |
143 /** \brief Enumeration of feature initialisation functions */ | 144 /** \brief Enumeration of feature initialisation functions */ |
144 enum xtract_feature_init_ { | 145 enum xtract_feature_init_ { |
145 XTRACT_INIT_MFCC = 100, | 146 XTRACT_INIT_MFCC = 100, |