LibXtract  0.6.2
xtract_vector.h
Go to the documentation of this file.
1 /* libxtract feature extraction library
2  *
3  * Copyright (C) 2006 Jamie Bullock
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
18  * USA.
19  */
20 
23 #ifndef XTRACT_VECTOR_H
24 #define XTRACT_VECTOR_H
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
50 int xtract_spectrum(const float *data, const int N, const void *argv, float *result);
51 
59 int xtract_autocorrelation_fft(const float *data, const int N, const void *argv, float *result);
60 
70 int xtract_mfcc(const float *data, const int N, const void *argv, float *result);
71 
78 int xtract_dct(const float *data, const int N, const void *argv, float *result);
79 
87 int xtract_autocorrelation(const float *data, const int N, const void *argv, float *result);
88 
96 int xtract_amdf(const float *data, const int N, const void *argv, float *result);
97 
105 int xtract_asdf(const float *data, const int N, const void *argv, float *result);
106 
116 int xtract_bark_coefficients(const float *data, const int N, const void *argv, float *result);
117 
125 int xtract_peak_spectrum(const float *data, const int N, const void *argv, float *result);
126 
133 int xtract_harmonic_spectrum(const float *data, const int N, const void *argv, float *result);
134 
148 int xtract_lpc(const float *data, const int N, const void *argv, float *result);
149 
160 int xtract_lpcc(const float *data, const int N, const void *argv, float *result);
161 
178 int xtract_subbands(const float *data, const int N, const void *argv, float *result);
181 #ifdef __cplusplus
182 }
183 #endif
184 
185 #endif
int xtract_amdf(const float *data, const int N, const void *argv, float *result)
Extract Average Magnitude Difference Function from time domain signal.
int xtract_subbands(const float *data, const int N, const void *argv, float *result)
Extract subbands from a spectrum.
int xtract_mfcc(const float *data, const int N, const void *argv, float *result)
Extract Mel Frequency Cepstral Coefficients based on a method described by Rabiner.
int xtract_bark_coefficients(const float *data, const int N, const void *argv, float *result)
Extract Bark band coefficients based on a method
int xtract_autocorrelation_fft(const float *data, const int N, const void *argv, float *result)
Extract autocorrelation from time domain signal using FFT based method.
int xtract_spectrum(const float *data, const int N, const void *argv, float *result)
Extract frequency domain spectrum from time domain signal.
int xtract_dct(const float *data, const int N, const void *argv, float *result)
Extract the Discrete Cosine transform of a time domain signal.
int xtract_asdf(const float *data, const int N, const void *argv, float *result)
Extract Average Squared Difference Function from time domain signal.
int xtract_lpc(const float *data, const int N, const void *argv, float *result)
Extract Linear Predictive Coding Coefficients.
int xtract_peak_spectrum(const float *data, const int N, const void *argv, float *result)
Extract the amplitude and frequency of spectral peaks from a magnitude spectrum.
int xtract_autocorrelation(const float *data, const int N, const void *argv, float *result)
Extract autocorrelation from time domain signal using time-domain autocorrelation technique.
int xtract_harmonic_spectrum(const float *data, const int N, const void *argv, float *result)
Extract the harmonic spectrum of from a of a peak spectrum.
int xtract_lpcc(const float *data, const int N, const void *argv, float *result)
Extract Linear Predictive Coding Cepstral Coefficients.