From 77629000b2e67e57ccce37a85d99a9ff1c76c4e6 Mon Sep 17 00:00:00 2001 From: Denny Sheirer Date: Sun, 21 May 2023 04:16:51 -0400 Subject: [PATCH] #1548 Reduces default decoder AF gain by 40% to resolve issue with distorted audio from local strong aircraft transmissions. (#1559) Co-authored-by: Dennis Sheirer --- .../java/io/github/dsheirer/module/decode/am/AMDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/dsheirer/module/decode/am/AMDecoder.java b/src/main/java/io/github/dsheirer/module/decode/am/AMDecoder.java index c86e5d2a..5a409e6f 100644 --- a/src/main/java/io/github/dsheirer/module/decode/am/AMDecoder.java +++ b/src/main/java/io/github/dsheirer/module/decode/am/AMDecoder.java @@ -29,7 +29,7 @@ import io.github.dsheirer.module.decode.analog.SquelchingAnalogDecoder; */ public class AMDecoder extends SquelchingAnalogDecoder { - private static final float DEMODULATOR_GAIN = 250.0f; + private static final float DEMODULATOR_GAIN = 150.0f; private static final float SQUELCH_ALPHA_DECAY = 0.0004f; private static final float MINIMUM_GAIN = 0.5f; private static final float MAXIMUM_GAIN = 16.0f;