LibXtract  0.7.1
Functions
xtract_scalar.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int xtract_mean (const double *data, const int N, const void *argv, double *result)
 Extract the mean of an input vector. More...
 
int xtract_variance (const double *data, const int N, const void *argv, double *result)
 Extract the variance of an input vector. More...
 
int xtract_standard_deviation (const double *data, const int N, const void *argv, double *result)
 Extract the deviation of an input vector. More...
 
int xtract_average_deviation (const double *data, const int N, const void *argv, double *result)
 Extract the average deviation of an input vector. More...
 
int xtract_skewness (const double *data, const int N, const void *argv, double *result)
 Extract the skewness of an input vector. More...
 
int xtract_kurtosis (const double *data, const int N, const void *argv, double *result)
 Extract the kurtosis of an input vector. More...
 
int xtract_spectral_mean (const double *data, const int N, const void *argv, double *result)
 Extract the mean of an input spectrum. More...
 
int xtract_spectral_variance (const double *data, const int N, const void *argv, double *result)
 Extract the variance of an input spectrum. More...
 
int xtract_spectral_standard_deviation (const double *data, const int N, const void *argv, double *result)
 Extract the deviation of an input spectrum. More...
 
int xtract_spectral_skewness (const double *data, const int N, const void *argv, double *result)
 Extract the average deviation of an input spectrum. More...
 
int xtract_spectral_kurtosis (const double *data, const int N, const void *argv, double *result)
 Extract the kurtosis of an input spectrum. More...
 
int xtract_spectral_centroid (const double *data, const int N, const void *argv, double *result)
 Extract the centroid of an input vector. More...
 
int xtract_irregularity_k (const double *data, const int N, const void *argv, double *result)
 Calculate the Irregularity of an input vector using a method described by Krimphoff (1994) More...
 
int xtract_irregularity_j (const double *data, const int N, const void *argv, double *result)
 Calculate the Irregularity of an input vector using a method described by Jensen (1999) More...
 
int xtract_tristimulus_1 (const double *data, const int N, const void *argv, double *result)
 Calculate the Tristimulus of an input vector using a method described by Pollard and Jansson (1982) More...
 
int xtract_tristimulus_2 (const double *data, const int N, const void *argv, double *result)
 
int xtract_tristimulus_3 (const double *data, const int N, const void *argv, double *result)
 
int xtract_smoothness (const double *data, const int N, const void *argv, double *result)
 Extract the smoothness of an input vector using a method described by McAdams (1999) More...
 
int xtract_spread (const double *data, const int N, const void *argv, double *result)
 Extract the spectral spread of an input vector using a method described by Casagrande(2005) More...
 
int xtract_zcr (const double *data, const int N, const void *argv, double *result)
 Extract the zero crossing rate of an input vector. More...
 
int xtract_rolloff (const double *data, const int N, const void *argv, double *result)
 Extract the spectral rolloff of an input vector using a method described by Bee Suan Ong (2005) More...
 
int xtract_loudness (const double *data, const int N, const void *argv, double *result)
 Extract the 'total loudness' of an input vector using a method described by Moore, Glasberg et al (2005) More...
 
int xtract_flatness (const double *data, const int N, const void *argv, double *result)
 Extract the spectral flatness measure of an input vector, where the flatness measure (SFM) is defined as the ratio of the geometric mean to the arithmetic mean of a magnitude spectrum. More...
 
int xtract_flatness_db (const double *data, const int N, const void *argv, double *result)
 Extract the LOG spectral flatness measure of an input vector. More...
 
int xtract_tonality (const double *data, const int N, const void *argv, double *result)
 Extract the tonality factor of an input vector using a method described by Peeters 2003. More...
 
int xtract_noisiness (const double *data, const int N, const void *argv, double *result)
 Extract the noisiness of an input vector using a method described by Tae Hong Park (2000) More...
 
int xtract_rms_amplitude (const double *data, const int N, const void *argv, double *result)
 Extract the RMS amplitude of an input vector using a method described by Tae Hong Park (2000) More...
 
int xtract_spectral_inharmonicity (const double *data, const int N, const void *argv, double *result)
 Extract the Inharmonicity of an input vector. More...
 
int xtract_crest (const double *data, const int N, const void *argv, double *result)
 Extract the spectral crest of an input vector using a method described by Peeters (2003) More...
 
int xtract_power (const double *data, const int N, const void *argv, double *result)
 Extract the Spectral Power of an input vector using a method described by Bee Suan Ong (2005) More...
 
int xtract_odd_even_ratio (const double *data, const int N, const void *argv, double *result)
 Extract the Odd to even harmonic ratio of an input vector. More...
 
int xtract_sharpness (const double *data, const int N, const void *argv, double *result)
 Extract the Sharpness of an input vector. More...
 
int xtract_spectral_slope (const double *data, const int N, const void *argv, double *result)
 Extract the Slope of an input vector using a method described by Peeters(2003) More...
 
int xtract_lowest_value (const double *data, const int N, const void *argv, double *result)
 Extract the value of the lowest value in an input vector. More...
 
int xtract_highest_value (const double *data, const int N, const void *argv, double *result)
 Extract the value of the highest value in an input vector. More...
 
int xtract_sum (const double *data, const int N, const void *argv, double *result)
 Extract the sum of the values in an input vector. More...
 
int xtract_hps (const double *data, const int N, const void *argv, double *result)
 Extract the Pitch of an input vector using Harmonic Product Spectrum (HPS) analysis. More...
 
int xtract_f0 (const double *data, const int N, const void *argv, double *result)
 Extract the fundamental frequency of an input vector. More...
 
int xtract_failsafe_f0 (const double *data, const int N, const void *argv, double *result)
 Extract the fundamental frequency of an input vector. More...
 
int xtract_wavelet_f0 (const double *data, const int N, const void *argv, double *result)
 Extract the fundamental frequency of an input vector using wavelet-based method. More...
 
int xtract_midicent (const double *data, const int N, const void *argv, double *result)
 Convenience function to convert a frequency in Hertz to a "pitch" value in MIDI cents. More...
 
int xtract_nonzero_count (const double *data, const int N, const void *argv, double *result)
 Extract the number of non-zero elements in an input vector. More...
 
int xtract_peak (const double *data, const int N, const void *argv, double *result)
 Return XTRACT_SUCCESS if the 'current' value is considered a peak. More...
 

Detailed Description

: declares functions that extract a feature as a single value from an input vector