aboutsummaryrefslogtreecommitdiff
path: root/xtract/libxtract.h
diff options
context:
space:
mode:
authorJamie Bullock <jamie@postlude.co.uk>2007-12-24 13:21:13 +0000
committerJamie Bullock <jamie@postlude.co.uk>2007-12-24 13:21:13 +0000
commit6abcb447777c3ab48bdbe720fc3d84d3e8841317 (patch)
tree01e0930c51bc1c5cf43aeed186f196e095378fe1 /xtract/libxtract.h
parent672302aadaba97f3e5df256e3d358cb2411ab3ed (diff)
downloadLibXtract-6abcb447777c3ab48bdbe720fc3d84d3e8841317.tar.gz
LibXtract-6abcb447777c3ab48bdbe720fc3d84d3e8841317.tar.bz2
LibXtract-6abcb447777c3ab48bdbe720fc3d84d3e8841317.zip
- Fixes to descriptors.c where no break statement was given for certain cases is switch conditionals
- Added LPC and LPCC extraction functions. LPC implements Durbin method as described in Rabiner and Juang and implemented in Dr. Dobbs 1994 edition by Jutta Degener
Diffstat (limited to 'xtract/libxtract.h')
-rw-r--r--xtract/libxtract.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/xtract/libxtract.h b/xtract/libxtract.h
index e967372..40512b0 100644
--- a/xtract/libxtract.h
+++ b/xtract/libxtract.h
@@ -56,7 +56,7 @@ extern "C" {
* @{
*/
-#define XTRACT_FEATURES 54
+#define XTRACT_FEATURES 56
/** \brief Enumeration of features, elements are used as indixes to an array of pointers to feature extracton functions */
enum xtract_features_ {
@@ -113,7 +113,9 @@ enum xtract_features_ {
XTRACT_AUTOCORRELATION_FFT,
XTRACT_MFCC,
XTRACT_DCT,
- XTRACT_HARMONIC_SPECTRUM
+ XTRACT_HARMONIC_SPECTRUM,
+ XTRACT_LPC,
+ XTRACT_LPCC
};
/** \brief Enumeration of feature initialisation functions */
@@ -198,9 +200,12 @@ typedef enum xtract_vector_ {
XTRACT_SPECTRAL_HARMONICS_MAGNITUDES,
/* N spectral harmonic frequencies */
XTRACT_SPECTRAL_HARMONICS_FREQUENCIES,
+ XTRACT_AUTOCORRELATION_COEFFS,
XTRACT_ARBITRARY_SERIES,
XTRACT_AUDIO_SAMPLES,
XTRACT_MEL_COEFFS,
+ XTRACT_LPC_COEFFS,
+ XTRACT_LPCC_COEFFS,
XTRACT_BARK_COEFFS,
XTRACT_NO_DATA
} xtract_vector_t;