annotate src/libxtract.c @ 73:af512645a7d3

Fixed constants in xtract_macros_private.h so that defaults work out OK
author Jamie Bullock <jamie@postlude.co.uk>
date Tue, 20 Mar 2007 07:57:56 +0000
parents 8fd7088c8ff6
children a32738e9d955
rev   line source
jamie@1 1 /* libxtract feature extraction library
jamie@1 2 *
jamie@1 3 * Copyright (C) 2006 Jamie Bullock
jamie@1 4 *
jamie@1 5 * This program is free software; you can redistribute it and/or modify
jamie@1 6 * it under the terms of the GNU General Public License as published by
jamie@1 7 * the Free Software Foundation; either version 2 of the License, or
jamie@1 8 * (at your option) any later version.
jamie@1 9 *
jamie@1 10 * This program is distributed in the hope that it will be useful,
jamie@1 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
jamie@1 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
jamie@1 13 * GNU General Public License for more details.
jamie@1 14 *
jamie@1 15 * You should have received a copy of the GNU General Public License
jamie@1 16 * along with this program; if not, write to the Free Software
jamie@1 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
jamie@1 18 * USA.
jamie@1 19 */
jamie@1 20
jamie@26 21
jamie@1 22 #include "xtract/libxtract.h"
jamie@56 23 #define XTRACT_H
jamie@1 24
jamie@43 25 int(*xtract[])(const float *, const int, const void *, float *) = {
jamie@1 26 /* xtract_scalar.h */
jamie@1 27 xtract_mean,
jamie@1 28 xtract_variance,
jamie@1 29 xtract_standard_deviation,
jamie@1 30 xtract_average_deviation,
jamie@1 31 xtract_skewness,
jamie@1 32 xtract_kurtosis,
jamie@52 33 xtract_spectral_mean,
jamie@52 34 xtract_spectral_variance,
jamie@52 35 xtract_spectral_standard_deviation,
jamie@52 36 xtract_spectral_average_deviation,
jamie@52 37 xtract_spectral_skewness,
jamie@52 38 xtract_spectral_kurtosis,
jamie@52 39 xtract_spectral_centroid,
jamie@1 40 xtract_irregularity_k,
jamie@1 41 xtract_irregularity_j,
jamie@1 42 xtract_tristimulus_1,
jamie@1 43 xtract_tristimulus_2,
jamie@1 44 xtract_tristimulus_3,
jamie@1 45 xtract_smoothness,
jamie@1 46 xtract_spread,
jamie@1 47 xtract_zcr,
jamie@1 48 xtract_rolloff,
jamie@1 49 xtract_loudness,
jamie@1 50 xtract_flatness,
jamie@1 51 xtract_tonality,
jamie@1 52 xtract_crest,
jamie@1 53 xtract_noisiness,
jamie@1 54 xtract_rms_amplitude,
jamie@52 55 xtract_spectral_inharmonicity,
jamie@1 56 xtract_power,
jamie@1 57 xtract_odd_even_ratio,
jamie@1 58 xtract_sharpness,
jamie@52 59 xtract_spectral_slope,
jamie@45 60 xtract_lowest_value,
jamie@45 61 xtract_highest_value,
jamie@45 62 xtract_sum,
jamie@59 63 xtract_nonzero_count,
jamie@1 64 xtract_hps,
jamie@10 65 xtract_f0,
jamie@43 66 xtract_failsafe_f0,
jamie@30 67 /* xtract_delta.h */
jamie@1 68 xtract_flux,
jamie@1 69 xtract_attack_time,
jamie@1 70 xtract_decay_time,
jamie@30 71 xtract_delta_feature,
jamie@30 72 /* xtract_vector.h */
jamie@30 73 xtract_autocorrelation,
jamie@30 74 xtract_amdf,
jamie@30 75 xtract_asdf,
jamie@30 76 xtract_bark_coefficients,
jamie@52 77 xtract_peak_spectrum,
jamie@54 78 xtract_spectrum,
jamie@30 79 xtract_autocorrelation_fft,
jamie@30 80 xtract_mfcc,
jamie@38 81 xtract_dct,
jamie@52 82 xtract_harmonic_spectrum
jamie@1 83 };
jamie@10 84