/home/jamie/store/svn/libxtract/trunk/xtract/xtract_scalar.h

Go to the documentation of this file.
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_SCALAR_H
00024 #define XTRACT_SCALAR_H
00025 
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029 
00044 int xtract_mean(const float *data, const int N, const void *argv, float *result);
00045 
00053 int xtract_variance(const float *data, const int N, const void *argv, float *result);
00054 
00062 int xtract_standard_deviation(const float *data, const int N, const void *argv, float *result);
00063 
00071 int xtract_average_deviation(const float *data, const int N, const void *argv, float *result);
00072 
00080 int xtract_skewness(const float *data, const int N, const void *argv,  float *result);
00081 
00089 int xtract_kurtosis(const float *data, const int N, const void *argv,  float *result);
00090 
00098 int xtract_spectral_mean(const float *data, const int N, const void *argv, float *result);
00099 
00108 int xtract_spectral_variance(const float *data, const int N, const void *argv, float *result);
00109 
00117 int xtract_spectral_standard_deviation(const float *data, const int N, const void *argv, float *result);
00118 
00126 int xtract_spectral_average_deviation(const float *data, const int N, const void *argv, float *result);
00127 
00135 int xtract_spectral_skewness(const float *data, const int N, const void *argv,  float *result);
00136 
00144 int xtract_spectral_kurtosis(const float *data, const int N, const void *argv,  float *result);
00145 
00156 int xtract_spectral_centroid(const float *data, const int N, const void *argv,  float *result);
00157 
00165 int xtract_irregularity_k(const float *data, const int N, const void *argv, float *result);
00166 
00174 int xtract_irregularity_j(const float *data, const int N, const void *argv, float *result);
00175 
00186 int xtract_tristimulus_1(const float *data, const int N, const void *argv, float *result);
00187 int xtract_tristimulus_2(const float *data, const int N, const void *argv, float *result);
00188 int xtract_tristimulus_3(const float *data, const int N, const void *argv, float *result);
00189 
00197 int xtract_smoothness(const float *data, const int N, const void *argv, float *result);
00198 
00206 int xtract_spread(const float *data, const int N, const void *argv, float *result);
00207 
00208 /* Zero crossing rate */
00209 
00217 int xtract_zcr(const float *data, const int N, const void *argv, float *result);
00218 
00226 int xtract_rolloff(const float *data, const int N, const void *argv, float *result);
00227 
00238 int xtract_loudness(const float *data, const int N, const void *argv, float *result);
00239 
00247 int xtract_flatness(const float *data, const int N, const void *argv, float *result);
00248 
00249 
00257 int xtract_tonality(const float *data, const int N, const void *argv, float *result);
00258 
00266 int xtract_noisiness(const float *data, const int N, const void *argv, float *result);
00267 
00275 int xtract_rms_amplitude(const float *data, const int N, const void *argv, float *result);
00276 
00284 int xtract_spectral_inharmonicity(const float *data, const int N, const void *argv, float *result);
00285 
00293 int xtract_crest(const float *data, const int N, const void *argv, float *result);
00294     
00302 int xtract_power(const float *data, const int N, const void *argv, float *result);
00303     
00304 /* Odd to even harmonic ratio */
00312 int xtract_odd_even_ratio(const float *data, const int N, const void *argv, float *result);
00313 
00321 int xtract_sharpness(const float *data, const int N, const void *argv, float *result);
00322 
00330 int xtract_spectral_slope(const float *data, const int N, const void *argv, float *result);
00331 
00340 int xtract_lowest_value(const float *data, const int N, const void *argv, float *result);
00341 
00350 int xtract_highest_value(const float *data, const int N, const void *argv, float *result);
00351 
00360 int xtract_sum(const float *data, const int N, const void *argv, float *result);
00361 
00371 int xtract_hps(const float *data, const int N, const void *argv, float *result);
00372 
00383 int xtract_f0(const float *data, const int N, const void *argv, float *result);
00384 
00395 int xtract_failsafe_f0(const float *data, const int N, const void *argv, float *result);
00396 
00405 int xtract_nonzero_count(const float *data, const int N, const void *argv, float *result);
00406 
00409 #ifdef __cplusplus
00410 }
00411 #endif
00412 
00413 #endif
00414 
00415 
00416 

Generated on Fri Apr 20 11:16:54 2007 for LibXtract by  doxygen 1.4.7