comparison xtract/libxtract.h @ 5:cac976b2a69d

Changed xtract_f0 to xtract_lowest_match
author Jamie Bullock <jamie@postlude.co.uk>
date Thu, 05 Oct 2006 16:59:51 +0000
parents 819937ea6359
children 90b3a3a25d99
comparison
equal deleted inserted replaced
4:46efa5536d04 5:cac976b2a69d
27 27
28 /** 28 /**
29 * \file libxtract.h: main header file and API definition 29 * \file libxtract.h: main header file and API definition
30 */ 30 */
31 31
32 #define VERSION "0.1" 32 #define VERSION "0.11"
33 33
34 34
35 #include "xtract_scalar.h" 35 #include "xtract_scalar.h"
36 #include "xtract_vector.h" 36 #include "xtract_vector.h"
37 #include "xtract_delta.h" 37 #include "xtract_delta.h"
38 #include "xtract_types.h" 38 #include "xtract_types.h"
39 #include "xtract_macros.h" 39 #include "xtract_macros.h"
40 40
41 #define XTRACT_FEATURES 40 41 #define XTRACT_FEATURES 41
42 #define LOG_LIMIT 10e-10 42 #define LOG_LIMIT 10e-10
43 #define VERY_BIG_NUMBER 2e10
43 #define SR_LIMIT 192000 44 #define SR_LIMIT 192000
44 #define BARK_BANDS 26 45 #define BARK_BANDS 26
45 46
46 /** \brief Enumeration of features, elements are used as indixes to an array of pointers to feature extracton functions */ 47 /** \brief Enumeration of features, elements are used as indixes to an array of pointers to feature extracton functions */
47 enum features_ { 48 enum features_ {
69 INHARMONICITY, 70 INHARMONICITY,
70 POWER, 71 POWER,
71 ODD_EVEN_RATIO, 72 ODD_EVEN_RATIO,
72 SHARPNESS, 73 SHARPNESS,
73 SLOPE, 74 SLOPE,
74 F0, 75 LOWEST_MATCH,
75 HPS, 76 HPS,
77 F0,
76 MAGNITUDE_SPECTRUM, 78 MAGNITUDE_SPECTRUM,
77 AUTOCORRELATION, 79 AUTOCORRELATION,
78 AUTOCORRELATION_FFT, 80 AUTOCORRELATION_FFT,
79 AMDF, 81 AMDF,
80 ASDF, 82 ASDF,