diff options
author | Jamie Bullock <jamie@postlude.co.uk> | 2006-10-09 09:22:03 +0000 |
---|---|---|
committer | Jamie Bullock <jamie@postlude.co.uk> | 2006-10-09 09:22:03 +0000 |
commit | c6e4f6421b2a72e33e21b53ee2838532d8958a8d (patch) | |
tree | c650474cd5f53e515f77d32ce961ed322dec960d /xtract/xtract_scalar.h | |
parent | 9bcdb2f6cb48da938975f618e36ebd54f67766cb (diff) | |
download | LibXtract-c6e4f6421b2a72e33e21b53ee2838532d8958a8d.tar.gz LibXtract-c6e4f6421b2a72e33e21b53ee2838532d8958a8d.tar.bz2 LibXtract-c6e4f6421b2a72e33e21b53ee2838532d8958a8d.zip |
Added f0 estimation (based on AMDF)
Diffstat (limited to 'xtract/xtract_scalar.h')
-rw-r--r-- | xtract/xtract_scalar.h | 5 |
1 files changed, 4 insertions, 1 deletions
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); |