summaryrefslogtreecommitdiffhomepage
path: root/src/lingot-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lingot-config.h')
-rw-r--r--src/lingot-config.h5
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;