jamie@1: /* libxtract feature extraction library jamie@1: * jamie@1: * Copyright (C) 2006 Jamie Bullock jamie@1: * jamie@1: * This program is free software; you can redistribute it and/or modify jamie@1: * it under the terms of the GNU General Public License as published by jamie@1: * the Free Software Foundation; either version 2 of the License, or jamie@1: * (at your option) any later version. jamie@1: * jamie@1: * This program is distributed in the hope that it will be useful, jamie@1: * but WITHOUT ANY WARRANTY; without even the implied warranty of jamie@1: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the jamie@1: * GNU General Public License for more details. jamie@1: * jamie@1: * You should have received a copy of the GNU General Public License jamie@1: * along with this program; if not, write to the Free Software jamie@1: * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, jamie@1: * USA. jamie@1: */ jamie@1: jamie@26: jamie@1: #include "xtract/libxtract.h" jamie@10: #define XTRACT jamie@1: jamie@43: int(*xtract[])(const float *, const int, const void *, float *) = { jamie@1: /* xtract_scalar.h */ jamie@1: xtract_mean, jamie@1: xtract_variance, jamie@1: xtract_standard_deviation, jamie@1: xtract_average_deviation, jamie@1: xtract_skewness, jamie@1: xtract_kurtosis, jamie@52: xtract_spectral_mean, jamie@52: xtract_spectral_variance, jamie@52: xtract_spectral_standard_deviation, jamie@52: xtract_spectral_average_deviation, jamie@52: xtract_spectral_skewness, jamie@52: xtract_spectral_kurtosis, jamie@52: xtract_spectral_centroid, jamie@1: xtract_irregularity_k, jamie@1: xtract_irregularity_j, jamie@1: xtract_tristimulus_1, jamie@1: xtract_tristimulus_2, jamie@1: xtract_tristimulus_3, jamie@1: xtract_smoothness, jamie@1: xtract_spread, jamie@1: xtract_zcr, jamie@1: xtract_rolloff, jamie@1: xtract_loudness, jamie@1: xtract_flatness, jamie@1: xtract_tonality, jamie@1: xtract_crest, jamie@1: xtract_noisiness, jamie@1: xtract_rms_amplitude, jamie@52: xtract_spectral_inharmonicity, jamie@1: xtract_power, jamie@1: xtract_odd_even_ratio, jamie@1: xtract_sharpness, jamie@52: xtract_spectral_slope, jamie@45: xtract_lowest_value, jamie@45: xtract_highest_value, jamie@45: xtract_sum, jamie@1: xtract_hps, jamie@10: xtract_f0, jamie@43: xtract_failsafe_f0, jamie@30: /* xtract_delta.h */ jamie@1: xtract_flux, jamie@1: xtract_attack_time, jamie@1: xtract_decay_time, jamie@30: xtract_delta_feature, jamie@30: /* xtract_vector.h */ jamie@30: xtract_autocorrelation, jamie@30: xtract_amdf, jamie@30: xtract_asdf, jamie@30: xtract_bark_coefficients, jamie@52: xtract_peak_spectrum, jamie@54: xtract_spectrum, jamie@30: xtract_autocorrelation_fft, jamie@30: xtract_mfcc, jamie@38: xtract_dct, jamie@52: xtract_harmonic_spectrum jamie@1: }; jamie@10: jamie@50: jamie@50: /*char *xtract_help_strings[] = { jamie@26: "xtract_mean", jamie@26: "xtract_variance", jamie@26: "xtract_standard_deviation", jamie@26: "xtract_average_deviation", jamie@26: "xtract_skewness", jamie@26: "xtract_kurtosis", jamie@26: "xtract_centroid", jamie@26: "xtract_irregularity_k", jamie@26: "xtract_irregularity_j", jamie@26: "xtract_tristimulus_1", jamie@26: "xtract_tristimulus_2", jamie@26: "xtract_tristimulus_3", jamie@26: "xtract_smoothness", jamie@26: "xtract_spread", jamie@26: "xtract_zcr", jamie@26: "xtract_rolloff", jamie@26: "xtract_loudness", jamie@26: "xtract_flatness", jamie@26: "xtract_tonality", jamie@26: "xtract_crest", jamie@26: "xtract_noisiness", jamie@26: "xtract_rms_amplitude", jamie@26: "xtract_inharmonicity", jamie@26: "xtract_power", jamie@26: "xtract_odd_even_ratio", jamie@26: "xtract_sharpness", jamie@26: "xtract_slope", jamie@45: "xtract_lowest_value", jamie@45: "xtract_highest_value", jamie@45: "xtract_sum", jamie@26: "xtract_hps", jamie@26: "xtract_f0", jamie@43: "xtract_failsafe_f0", jamie@26: "xtract_flux", jamie@26: "xtract_attack_time", jamie@26: "xtract_decay_time", jamie@34: "xtract_delta_feature", jamie@30: "xtract_autocorrelation", jamie@30: "xtract_amdf", jamie@30: "xtract_asdf", jamie@30: "xtract_bark_coefficients", jamie@30: "xtract_peaks", jamie@30: "xtract_magnitude_spectrum", jamie@30: "xtract_autocorrelation_fft", jamie@30: "xtract_mfcc", jamie@38: "xtract_dct", jamie@38: "xtract_harmonics" jamie@50: }; */