aboutsummaryrefslogtreecommitdiff
path: root/xtract
diff options
context:
space:
mode:
authorJamie Bullock <jamie@jamiebullock.com>2014-02-18 20:18:44 +0000
committerJamie Bullock <jamie@jamiebullock.com>2014-02-18 20:18:44 +0000
commitffcf1903a1e7df4d56b0e6b931cc38ea6de217a2 (patch)
treee42769acbc978e1cb98a81853d268ddb51e73f23 /xtract
parentb1f7c9f6c440838da18f8c1d7712036c867e7a77 (diff)
parent5e3bd37d8f85d8bf1cb6bf9436c24b83dfad89c6 (diff)
downloadLibXtract-ffcf1903a1e7df4d56b0e6b931cc38ea6de217a2.tar.gz
LibXtract-ffcf1903a1e7df4d56b0e6b931cc38ea6de217a2.tar.bz2
LibXtract-ffcf1903a1e7df4d56b0e6b931cc38ea6de217a2.zip
Merge pull request #50 from seanlikeskites/master
Harmonic Product Spectrum Changes
Diffstat (limited to 'xtract')
-rw-r--r--xtract/xtract_scalar.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/xtract/xtract_scalar.h b/xtract/xtract_scalar.h
index dc0e5cf..e18aea6 100644
--- a/xtract/xtract_scalar.h
+++ b/xtract/xtract_scalar.h
@@ -386,10 +386,8 @@ int xtract_sum(const double *data, const int N, const void *argv, double *result
/** \brief Extract the Pitch of an input vector using Harmonic Product Spectrum (HPS) analysis
*
- * \warning {This function doesn't work properly}
- *
- * \param *data: a pointer to the first element in an array of doubles representing the magnitude coefficients from the spectrum of an audio vector, (e.g. the first half of the array pointed to by *result from xtract_spectrum().
- * \param N: the number of elements to be considered
+ * \param *data: a pointer to the first element in an array of doubles representing the spectrum of an audio vector (e.g. *result from xtract_spectrum). It is expected that the first half of the array pointed to by *data will contain amplitudes for each frequecy bin, and the second half will contain the respective frequencies
+ * \param N: The length of the vector pointed to by *data.
* \param *argv: a pointer to NULL
* \param *result: the pitch of N values from the array pointed to by *data
*/