diff xtract/libxtract.h @ 108:e6354b0137d3

- PD example brought in line with new delta features and subframe function - subframe-test.pd added - fix to a_blockswap~.pd
author Jamie Bullock <jamie@postlude.co.uk>
date Sat, 29 Dec 2007 17:33:17 +0000
parents 3e648eec95cb
children c8502708853b
line wrap: on
line diff
--- a/xtract/libxtract.h	Fri Dec 28 19:34:51 2007 +0000
+++ b/xtract/libxtract.h	Sat Dec 29 17:33:17 2007 +0000
@@ -68,7 +68,7 @@
   * @{
   */
 
-#define XTRACT_FEATURES 58
+#define XTRACT_FEATURES 59
     
 /** \brief Enumeration of features, elements are used as indixes to an array of pointers to feature extracton functions */
 enum xtract_features_ {
@@ -136,7 +136,8 @@
 /** \brief Enumeration of feature initialisation functions */
 enum xtract_feature_init_ {
     XTRACT_INIT_MFCC = 100,
-    XTRACT_INIT_BARK
+    XTRACT_INIT_BARK,
+    XTRACT_INIT_WINDOWED
 };
 
 /** \brief Enumeration of feature types */
@@ -153,6 +154,7 @@
 };
 
 enum xtract_lnorm_filter_types_ {
+    XTRACT_NO_LNORM_FILTER,
     XTRACT_POSITIVE_SLOPE,
     XTRACT_NEGATIVE_SLOPE
 };
@@ -240,6 +242,7 @@
     XTRACT_LPC_COEFFS, 
     XTRACT_LPCC_COEFFS, 
     XTRACT_BARK_COEFFS,
+    XTRACT_SUBFRAMES,
     XTRACT_NO_DATA
 } xtract_vector_t;
 
@@ -272,6 +275,7 @@
     } argv;
 
     xtract_bool_t is_scalar;
+    xtract_bool_t is_delta; /* features in xtract_delta.h can be scalar or vector */ 
 
     /* The result.<> entries in descritors.c need to be checked */
     union {