diff xtract/libxtract.h @ 106:3693573a07fa

Added l-norm/spectral flux
author Jamie Bullock <jamie@postlude.co.uk>
date Thu, 27 Dec 2007 20:37:15 +0000
parents f2af1c75e3ed
children 3e648eec95cb
line wrap: on
line diff
--- a/xtract/libxtract.h	Thu Dec 27 17:51:07 2007 +0000
+++ b/xtract/libxtract.h	Thu Dec 27 20:37:15 2007 +0000
@@ -67,7 +67,7 @@
   * @{
   */
 
-#define XTRACT_FEATURES 56
+#define XTRACT_FEATURES 57
     
 /** \brief Enumeration of features, elements are used as indixes to an array of pointers to feature extracton functions */
 enum xtract_features_ {
@@ -111,10 +111,11 @@
     XTRACT_HPS,
     XTRACT_F0,
     XTRACT_FAILSAFE_F0,
+    XTRACT_LNORM,
     XTRACT_FLUX,
     XTRACT_ATTACK_TIME,
     XTRACT_DECAY_TIME,
-    XTRACT_DELTA_FEATURE,
+    XTRACT_DIFFERENCE_VECTOR,
     XTRACT_AUTOCORRELATION,
     XTRACT_AMDF,
     XTRACT_ASDF,
@@ -148,6 +149,11 @@
     XTRACT_EQUAL_AREA
 };
 
+enum xtract_lnorm_filter_types_ {
+    XTRACT_POSITIVE_SLOPE,
+    XTRACT_NEGATIVE_SLOPE
+};
+
 /** \brief Enumeration of return codes */
 enum xtract_return_codes_ {
     XTRACT_SUCCESS,