diff options
author | Jamie Bullock <jamie@postlude.co.uk> | 2007-01-21 14:40:23 +0000 |
---|---|---|
committer | Jamie Bullock <jamie@postlude.co.uk> | 2007-01-21 14:40:23 +0000 |
commit | 64d6de56068584a090e555abf49a16d6bdf97696 (patch) | |
tree | d9c797059926b38069337aec6e872c9064387a7d /xtract/xtract_vector.h | |
parent | 03faa4383048ec211eea920c6ec56544037191c9 (diff) | |
download | LibXtract-64d6de56068584a090e555abf49a16d6bdf97696.tar.gz LibXtract-64d6de56068584a090e555abf49a16d6bdf97696.tar.bz2 LibXtract-64d6de56068584a090e555abf49a16d6bdf97696.zip |
Finished the essentials of descriptors.c
Diffstat (limited to 'xtract/xtract_vector.h')
-rw-r--r-- | xtract/xtract_vector.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xtract/xtract_vector.h b/xtract/xtract_vector.h index 26a7ff4..4be7e45 100644 --- a/xtract/xtract_vector.h +++ b/xtract/xtract_vector.h @@ -112,11 +112,10 @@ int xtract_bark_coefficients(const float *data, const int N, const void *argv, f /** \brief Extract the amplitude and frequency of spectral peaks from a magnitude spectrum * \param *data: a pointer to an array of size N containing N/2 magnitude/power/log magnitude/log power coefficients and N/2 bin frequencies. (e.g. the first half of the array pointed to by *result from xtract_spectrum(). * \param N: the size of the output array (note: the input array can be of size N/2, i.e. just the magnitudes) - * \param *argv: a pointer to an array containing the peak threshold as percentage of the magnitude of the maximum peak found, and a float representing (samplerate / N) + * \param *argv: a pointer to an array of floats, the first representing (samplerate / N), the second representing the peak threshold as percentage of the magnitude of the maximum peak found * \param *result: a pointer to an array of size N containing N/2 magnitude/power/log magnitude/log power coefficients and N/2 bin frequencies. * */ - int xtract_peak_spectrum(const float *data, const int N, const void *argv, float *result); /** \brief Extract the harmonic spectrum of from a of a peak spectrum |