25#include "xtract_types.h"
34 int xtract_flux(
const double *data,
const int N,
const void *argv,
double *result);
44 int xtract_lnorm(
const double *data,
const int N,
const void *argv,
double *result);
int xtract_lnorm(const double *data, const int N, const void *argv, double *result)
Extract the L-norm of a vector.
int xtract_modified_kullback_leibler(const double *data, const int N, const void *argv, double *result)
Extract the modified Kullback-Leibler onset function of Hainsworth and Macleod: the sum over the fram...
int xtract_itakura_saito_divergence(const double *data, const int N, const void *argv, double *result)
Extract the Itakura-Saito divergence of the current spectral frame from the previous one.
int xtract_attack_time(const double *data, const int N, const void *argv, double *result)
Extract the attack time of an envelope: the time from the first element that reaches the start fracti...
int xtract_flux(const double *data, const int N, const void *argv, double *result)
Extract flux.
int xtract_kullback_leibler_divergence(const double *data, const int N, const void *argv, double *result)
Extract the Kullback-Leibler divergence of the current spectral frame from the previous one,...
int xtract_decay_time(const double *data, const int N, const void *argv, double *result)
Extract the decay time of an envelope: the time from its maximum to the first later element at or bel...
int xtract_difference_vector(const double *data, const int N, const void *argv, double *result)
Extract the difference between two vectors.