From c77651dcdf11427071d69821d63b8de80874b7a2 Mon Sep 17 00:00:00 2001 From: pp Date: Sat, 22 Mar 2008 16:56:08 +0000 Subject: - experimental, very simple implementation of YIN fundamental frequency estimator git-svn-id: https://lampka.siedziba.pl:790/svn/repos/lingot-win32@309 455248ca-bdda-0310-9134-f4ebb693071a --- src/lingot-config.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lingot-config.h') diff --git a/src/lingot-config.h b/src/lingot-config.h index 174730d..dcdc2bf 100644 --- a/src/lingot-config.h +++ b/src/lingot-config.h @@ -35,7 +35,7 @@ typedef struct _LingotConfig LingotConfig; struct _LingotConfig { - void* param[15]; // parameter pointer array. + void* param[17]; // parameter pointer array. char audio_dev[80]; // default "/dev/dsp" unsigned int sample_rate; // soundcard sample rate. @@ -83,6 +83,9 @@ struct _LingotConfig unsigned int dft_number; // number of DFTs. unsigned int dft_size; // samples of each DFT. + FLT yin_threshold; + unsigned int estimator; + // max iterations for Newton-Raphson algorithm. unsigned int max_nr_iter; -- cgit v1.2.3