From e231ab89c38ccf0c24ab2bf14b686aaec0057c53 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sun, 13 Aug 2017 15:54:49 +0200 Subject: [PATCH] Lower noise floor works better for low frequencies of some acoustic guitars --- tuner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuner.c b/tuner.c index c19eea7..8329839 100644 --- a/tuner.c +++ b/tuner.c @@ -14,7 +14,7 @@ #define FFT_SIZE (1<<13) #define ACCURACY 1.0 // Hz -#define NOISE_FLOOR 30 +#define NOISE_FLOOR 10 #define MIN_FREQ 10.0 // Hz #define FFT_INDEX_TO_FREQ(i) ((float)i * SAMPLE_RATE / FFT_SIZE)