diff options
author | Sean Enderby <sean.enderby@gmail.com> | 2014-02-25 14:27:25 +0000 |
---|---|---|
committer | Sean Enderby <sean.enderby@gmail.com> | 2014-02-25 14:27:25 +0000 |
commit | 71ae0bc782330606c03cd01f31aa22211ff8c857 (patch) | |
tree | b7e3d36e23bbedac08ebc8ad02f361a57559cb4b /xtract | |
parent | 8fad3a92195af9f58d008ec82c267c7a992456cc (diff) | |
download | LibXtract-71ae0bc782330606c03cd01f31aa22211ff8c857.tar.gz LibXtract-71ae0bc782330606c03cd01f31aa22211ff8c857.tar.bz2 LibXtract-71ae0bc782330606c03cd01f31aa22211ff8c857.zip |
updated docs and removed commented out code
Diffstat (limited to 'xtract')
-rw-r--r-- | xtract/xtract_scalar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xtract/xtract_scalar.h b/xtract/xtract_scalar.h index 2bbf0ec..4461623 100644 --- a/xtract/xtract_scalar.h +++ b/xtract/xtract_scalar.h @@ -182,9 +182,9 @@ int xtract_irregularity_j(const double *data, const int N, const void *argv, dou /** \brief Calculate the Tristimulus of an input vector using a method described by Pollard and Jansson (1982) * - * \param *data: a pointer to the first element in an array of doubles representing the magnitude coefficients of the harmonic spectrum of an audio vector e.g. a pointer to the first half of the array pointed to by *result from xtract_harmonics(). The amplitudes of the peak spectrum (e.g. *result from xtract_peak_spectrum()) can be used if one wishes to consider all partials not just harmonics. + * \param *data: a pointer to the first element in an array of doubles representing a harmonic spectrum of size N/2, and a frequency spectrum of size N/2 (This is the output format of xtract_harmonic_spectrum()) * \param N: the number of elements to be considered - * \param *argv: a pointer to NULL + * \param *argv: a pointer to a double representing the fundamental frequency of the input vector. * \param *result: the tristimulus of N values from the array pointed to by *data * * These three functions provide the first, second and third order tristimulus formulae |