From c6e4f6421b2a72e33e21b53ee2838532d8958a8d Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Mon, 9 Oct 2006 09:22:03 +0000 Subject: Added f0 estimation (based on AMDF) --- xtract/xtract_scalar.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'xtract/xtract_scalar.h') diff --git a/xtract/xtract_scalar.h b/xtract/xtract_scalar.h index bea7298..96969bd 100644 --- a/xtract/xtract_scalar.h +++ b/xtract/xtract_scalar.h @@ -288,8 +288,11 @@ 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 NULL + * \param *argv: a pointer to a float representing the sample rate of the vector * \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 + * */ int xtract_f0(float *data, int N, void *argv, float *result); -- cgit v1.2.3