diff options
author | Jamie Bullock <jamie@postlude.co.uk> | 2006-10-17 08:04:36 +0000 |
---|---|---|
committer | Jamie Bullock <jamie@postlude.co.uk> | 2006-10-17 08:04:36 +0000 |
commit | 1ea15c2e4d3519ddc1d48495402dc77bc30a1bf3 (patch) | |
tree | 270d7bd264eae70108257fa37f2cf2f576ae5c15 /xtract | |
parent | ea4fde50704763529720b65660fe7669599c8a4b (diff) | |
download | LibXtract-1ea15c2e4d3519ddc1d48495402dc77bc30a1bf3.tar.gz LibXtract-1ea15c2e4d3519ddc1d48495402dc77bc30a1bf3.tar.bz2 LibXtract-1ea15c2e4d3519ddc1d48495402dc77bc30a1bf3.zip |
Improved xtract_f0
Diffstat (limited to 'xtract')
-rw-r--r-- | xtract/xtract_scalar.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xtract/xtract_scalar.h b/xtract/xtract_scalar.h index 876de3a..59c92dc 100644 --- a/xtract/xtract_scalar.h +++ b/xtract/xtract_scalar.h @@ -283,6 +283,8 @@ int xtract_lowest_match(float *data, int N, void *argv, float *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 floats representing the magnitude spectrum of an audio vector * \param N: the number of elements to be considered * \param *argv: a pointer to NULL @@ -294,10 +296,10 @@ int xtract_hps(float *data, int N, void *argv, float *result); * * \param *data: a pointer to the first element in an array of floats representing an audio vector * \param N: the number of elements to be considered - * \param *argv: a pointer to a float representing the sample rate of the vector + * \param *argv: a pointer to a float representing the audio sample rate * \param *result: the pitch of N values from the array pointed to by *data * - * This algorithm is based on the AMDF and would benefit from further refinement + * This algorithm is based on the AMDF, with peak and centre clipping. It would benefit from further improvements to improve noise robustness and overall efficiency * */ int xtract_f0(float *data, int N, void *argv, float *result); |