From 398afce1d37bad97d50a20aa5406a4dc6327912d Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Sat, 16 Feb 2008 20:13:05 +0000 Subject: - Added to pd example the ability to differentiate between different argv types (XTRACT_FLOAT, XTRACT_INT) and pass the correct data type to the xtract[]() function - Added xtract_flatness_db() details to descriptors.c - Fixes to tonality and xtract_subbands descriptors - Added Pd examples for 'subband mean' and tonality calculated using subbands --- xtract/libxtract.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xtract/libxtract.h') diff --git a/xtract/libxtract.h b/xtract/libxtract.h index 44b3828..d0ece81 100644 --- a/xtract/libxtract.h +++ b/xtract/libxtract.h @@ -68,7 +68,7 @@ extern "C" { * @{ */ -#define XTRACT_FEATURES 59 +#define XTRACT_FEATURES 60 /** \brief Enumeration of features, elements are used as indixes to an array of pointers to feature extracton functions */ enum xtract_features_ { @@ -202,6 +202,7 @@ typedef enum unit_ { XTRACT_DBFS, XTRACT_DBFS_HERTZ, XTRACT_PERCENT, + XTRACT_BINS, XTRACT_SONE } xtract_unit_t; -- cgit v1.2.3