LibXtract 0.6.2
xtract_delta.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_DELTA_H
24#define XTRACT_DELTA_H
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
38#include "xtract_types.h"
39
45int xtract_flux(const float *data, const int N, const void *argv , float *result);
46
55int xtract_lnorm(const float *data, const int N, const void *argv , float *result);
56/*xtract_frame_tracker *xf */
57
59int xtract_attack_time(const float *data, const int N, const void *argv , float *result);
60/* xtract_amp_tracker *xa */
61
63int xtract_decay_time(const float *data, const int N, const void *argv, float *result);
64/* xtract_amp_tracker *xa */
65
66
75int xtract_difference_vector(const float *data, const int N, const void *argv, float *result);
76/*xtract_frame_tracker *xf */
77/*float frames*/
78
81#ifdef __cplusplus
82}
83#endif
84
85#endif
int xtract_lnorm(const float *data, const int N, const void *argv, float *result)
Extract the L-norm of a vector.
int xtract_difference_vector(const float *data, const int N, const void *argv, float *result)
Extract the difference between two vectors.
int xtract_attack_time(const float *data, const int N, const void *argv, float *result)
Extract attack Time.
int xtract_flux(const float *data, const int N, const void *argv, float *result)
Extract flux.
int xtract_decay_time(const float *data, const int N, const void *argv, float *result)