aboutsummaryrefslogtreecommitdiff
path: root/xtract/libxtract.h
diff options
context:
space:
mode:
authorJamie Bullock <jamie@postlude.co.uk>2007-12-29 17:33:17 +0000
committerJamie Bullock <jamie@postlude.co.uk>2007-12-29 17:33:17 +0000
commiteb32acabd365e47e36863ee737505db463bd9f91 (patch)
tree5258b5b6e2ae35fc3c72b356f6e26f37660bf6c1 /xtract/libxtract.h
parent2e66bd6092fe93ca7fa953c4af9d0e16bbf69905 (diff)
downloadLibXtract-eb32acabd365e47e36863ee737505db463bd9f91.tar.gz
LibXtract-eb32acabd365e47e36863ee737505db463bd9f91.tar.bz2
LibXtract-eb32acabd365e47e36863ee737505db463bd9f91.zip
- PD example brought in line with new delta features and subframe function
- subframe-test.pd added - fix to a_blockswap~.pd
Diffstat (limited to 'xtract/libxtract.h')
-rw-r--r--xtract/libxtract.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/xtract/libxtract.h b/xtract/libxtract.h
index 1b787b0..ae70efb 100644
--- a/xtract/libxtract.h
+++ b/xtract/libxtract.h
@@ -68,7 +68,7 @@ extern "C" {
* @{
*/
-#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 @@ enum xtract_features_ {
/** \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_mfcc_types_ {
};
enum xtract_lnorm_filter_types_ {
+ XTRACT_NO_LNORM_FILTER,
XTRACT_POSITIVE_SLOPE,
XTRACT_NEGATIVE_SLOPE
};
@@ -240,6 +242,7 @@ typedef enum xtract_vector_ {
XTRACT_LPC_COEFFS,
XTRACT_LPCC_COEFFS,
XTRACT_BARK_COEFFS,
+ XTRACT_SUBFRAMES,
XTRACT_NO_DATA
} xtract_vector_t;
@@ -272,6 +275,7 @@ typedef struct _xtract_function_descriptor {
} 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 {