diff xtract/libxtract.h @ 52:45c585bb7996

Rationalised spectral data format. Added spectral_mean et al
author Jamie Bullock <jamie@postlude.co.uk>
date Wed, 10 Jan 2007 13:16:55 +0000
parents 5306739416cf
children 9762d7e3d129
line wrap: on
line diff
--- a/xtract/libxtract.h	Tue Jan 09 11:30:44 2007 +0000
+++ b/xtract/libxtract.h	Wed Jan 10 13:16:55 2007 +0000
@@ -53,7 +53,7 @@
   * @{
   */
 
-#define XTRACT_FEATURES 47
+#define XTRACT_FEATURES 53
     
 /** \brief Enumeration of features, elements are used as indixes to an array of pointers to feature extracton functions */
 enum features_ {
@@ -63,7 +63,13 @@
     AVERAGE_DEVIATION,
     SKEWNESS,
     KURTOSIS,
-    CENTROID,
+    SPECTRAL_MEAN,
+    SPECTRAL_VARIANCE,
+    SPECTRAL_STANDARD_DEVIATION,
+    SPECTRAL_AVERAGE_DEVIATION,
+    SPECTRAL_SKEWNESS,
+    SPECTRAL_KURTOSIS,
+    SPECTRAL_CENTROID,
     IRREGULARITY_K,
     IRREGULARITY_J,
     TRISTIMULUS_1,
@@ -79,11 +85,11 @@
     CREST,
     NOISINESS,
     RMS_AMPLITUDE,
-    INHARMONICITY,
+    SPECTRAL_INHARMONICITY,
     POWER,
     ODD_EVEN_RATIO,
     SHARPNESS,
-    SLOPE,
+    SPECTRAL_SLOPE,
     LOWEST_VALUE,
     HIGHEST_VALUE,
     SUM,
@@ -98,12 +104,12 @@
     AMDF,
     ASDF,
     BARK_COEFFICIENTS,
-    PEAKS,
+    PEAK_SPECTRUM,
     MAGNITUDE_SPECTRUM,
     AUTOCORRELATION_FFT,
     MFCC,
     DCT,
-    HARMONICS
+    HARMONIC_SPECTRUM
 };
 
 /** \brief Enumeration of feature types */