Mercurial > hg > libxtract
diff xtract/libxtract.h @ 104:a32738e9d955
- 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
author | Jamie Bullock <jamie@postlude.co.uk> |
---|---|
date | Mon, 24 Dec 2007 13:21:13 +0000 |
parents | ca40a0dc29d6 |
children | f2af1c75e3ed |
line wrap: on
line diff
--- a/xtract/libxtract.h Fri Dec 21 11:05:20 2007 +0000 +++ b/xtract/libxtract.h Mon Dec 24 13:21:13 2007 +0000 @@ -56,7 +56,7 @@ * @{ */ -#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 @@ 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 @@ 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;