LibXtract 0.6.2
|
00001 /* libxtract feature extraction library 00002 * 00003 * Copyright (C) 2006 Jamie Bullock 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 00018 * USA. 00019 */ 00020 00023 #ifndef XTRACT_DELTA_H 00024 #define XTRACT_DELTA_H 00025 00026 #ifdef __cplusplus 00027 extern "C" { 00028 #endif 00029 00038 #include "xtract_types.h" 00039 00045 int xtract_flux(const float *data, const int N, const void *argv , float *result); 00046 00055 int xtract_lnorm(const float *data, const int N, const void *argv , float *result); 00056 /*xtract_frame_tracker *xf */ 00057 00059 int xtract_attack_time(const float *data, const int N, const void *argv , float *result); 00060 /* xtract_amp_tracker *xa */ 00061 00063 int xtract_decay_time(const float *data, const int N, const void *argv, float *result); 00064 /* xtract_amp_tracker *xa */ 00065 00066 00075 int xtract_difference_vector(const float *data, const int N, const void *argv, float *result); 00076 /*xtract_frame_tracker *xf */ 00077 /*float frames*/ 00078 00081 #ifdef __cplusplus 00082 } 00083 #endif 00084 00085 #endif