diff options
| author | pp <pp@455248ca-bdda-0310-9134-f4ebb693071a> | 2008-03-22 16:56:08 +0000 |
|---|---|---|
| committer | pp <pp@455248ca-bdda-0310-9134-f4ebb693071a> | 2008-03-22 16:56:08 +0000 |
| commit | c77651dcdf11427071d69821d63b8de80874b7a2 (patch) | |
| tree | 58540adff3441dd55ec36a649fcfe01f6429200a /src/lingot-config.h | |
| parent | 65d7466d6f9f44b0c7104d941b0e89fdd6938920 (diff) | |
- 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
Diffstat (limited to 'src/lingot-config.h')
| -rw-r--r-- | src/lingot-config.h | 5 |
1 files changed, 4 insertions, 1 deletions
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; |
