From b4bd2f5c632dbc585fc29939851c2c8491e8fefa Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Sun, 3 Nov 2024 14:40:19 +0100 Subject: [PATCH] autogain: reduce default loudThreshold --- README.md | 2 +- readsb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b4fe126b..3bce11ef 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ To tweak the internals, more parameters can be passed: ``` The defaults are: ``` ---gain=auto-verbose,43.9,25,31,245 +--gain=auto-verbose,43.9,25,31,243 ``` The thresholds are numbers 0 to 256, tweaking them requires some understanding of how it works. One option would be to change the noise thresholds up or down and then observe the log. diff --git a/readsb.c b/readsb.c index 188a83c0..b885451f 100644 --- a/readsb.c +++ b/readsb.c @@ -120,7 +120,7 @@ static void configSetDefaults(void) { Modes.gainQuiet = 1; // 8 bit autogain defaults, will be squared and compared against magnitude data - Modes.loudThreshold = 245; + Modes.loudThreshold = 243; Modes.noiseLowThreshold = 25; Modes.noiseHighThreshold = 31;