LibXtract 0.7.1
xtract_vector.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2012 Jamie Bullock
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a copy
5 * of this software and associated documentation files (the "Software"), to
6 * deal in the Software without restriction, including without limitation the
7 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8 * sell copies of the Software, and to permit persons to whom the Software is
9 * furnished to do so, subject to the following conditions:
10 *
11 * The above copyright notice and this permission notice shall be included in
12 * all copies or substantial portions of the Software.
13 *
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
20 * IN THE SOFTWARE.
21 *
22 */
23
26#ifndef XTRACT_VECTOR_H
27#define XTRACT_VECTOR_H
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
53int xtract_spectrum(const double *data, const int N, const void *argv, double *result);
54
62int xtract_autocorrelation_fft(const double *data, const int N, const void *argv, double *result);
63
73int xtract_mfcc(const double *data, const int N, const void *argv, double *result);
74
81int xtract_dct(const double *data, const int N, const void *argv, double *result);
82
90int xtract_autocorrelation(const double *data, const int N, const void *argv, double *result);
91
99int xtract_amdf(const double *data, const int N, const void *argv, double *result);
100
108int xtract_asdf(const double *data, const int N, const void *argv, double *result);
109
119int xtract_bark_coefficients(const double *data, const int N, const void *argv, double *result);
120
128int xtract_peak_spectrum(const double *data, const int N, const void *argv, double *result);
129
136int xtract_harmonic_spectrum(const double *data, const int N, const void *argv, double *result);
137
151int xtract_lpc(const double *data, const int N, const void *argv, double *result);
152
163int xtract_lpcc(const double *data, const int N, const void *argv, double *result);
164
181int xtract_subbands(const double *data, const int N, const void *argv, double *result);
184#ifdef __cplusplus
185}
186#endif
187
188#endif
int xtract_lpc(const double *data, const int N, const void *argv, double *result)
Extract Linear Predictive Coding Coefficients.
int xtract_autocorrelation(const double *data, const int N, const void *argv, double *result)
Extract autocorrelation from time domain signal using time-domain autocorrelation technique.
int xtract_amdf(const double *data, const int N, const void *argv, double *result)
Extract Average Magnitude Difference Function from time domain signal.
int xtract_autocorrelation_fft(const double *data, const int N, const void *argv, double *result)
Extract autocorrelation from time domain signal using FFT based method.
int xtract_mfcc(const double *data, const int N, const void *argv, double *result)
Extract Mel Frequency Cepstral Coefficients based on a method described by Rabiner.
int xtract_lpcc(const double *data, const int N, const void *argv, double *result)
Extract Linear Predictive Coding Cepstral Coefficients.
int xtract_dct(const double *data, const int N, const void *argv, double *result)
Extract the Discrete Cosine transform of a time domain signal.
int xtract_spectrum(const double *data, const int N, const void *argv, double *result)
Extract frequency domain spectrum from time domain signal.
int xtract_subbands(const double *data, const int N, const void *argv, double *result)
Extract subbands from a spectrum.
int xtract_peak_spectrum(const double *data, const int N, const void *argv, double *result)
Extract the amplitude and frequency of spectral peaks from a magnitude spectrum.
int xtract_bark_coefficients(const double *data, const int N, const void *argv, double *result)
Extract Bark band coefficients based on a method
int xtract_harmonic_spectrum(const double *data, const int N, const void *argv, double *result)
Extract the harmonic spectrum of from a of a peak spectrum.
int xtract_asdf(const double *data, const int N, const void *argv, double *result)
Extract Average Squared Difference Function from time domain signal.