From 96a56cab68683d59a478ed2a37a151312cd37511 Mon Sep 17 00:00:00 2001 From: Denny Date: Sun, 9 Sep 2018 09:55:40 -0400 Subject: [PATCH] Resolves #375. Reverts PLL gain values to version 0.3.4beta2 values to restore P25 decoder performance. This change in conjuction with recent channel sample rate change should restore P25 channel decoding to comparable levels from 0.3.4b2. --- .../java/io/github/dsheirer/dsp/psk/pll/PLLGain.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/java/io/github/dsheirer/dsp/psk/pll/PLLGain.java b/src/main/java/io/github/dsheirer/dsp/psk/pll/PLLGain.java index 482a444e..dd813578 100644 --- a/src/main/java/io/github/dsheirer/dsp/psk/pll/PLLGain.java +++ b/src/main/java/io/github/dsheirer/dsp/psk/pll/PLLGain.java @@ -20,11 +20,13 @@ package io.github.dsheirer.dsp.psk.pll; */ public enum PLLGain { - LEVEL_1(50.0, 0, 1), - LEVEL_2(75.0, 2, 4), - LEVEL_3(100.0, 5, 6), - LEVEL_4(125.0, 7, 8), - LEVEL_5(150.0, 9, 10); + //NOTE: static gain level of 200 produced the best results for releases prior to 0.3.4b2 + + LEVEL_1(150.0, 0, 1), + LEVEL_2(175.0, 2, 4), + LEVEL_3(200.0, 5, 6), + LEVEL_4(200.0, 7, 8), + LEVEL_5(200.0, 9, 10); private double mLoopBandwidth; private int mRangeStart;