From ded6e2a1f8b8a61eafb989fd8ef2b836ee2758f2 Mon Sep 17 00:00:00 2001 From: Stan Grams Date: Sun, 1 Mar 2026 18:43:07 +0100 Subject: [PATCH] [fix](trx-backend-soapysdr): widen wfm stereo image Co-authored-by: OpenAI Codex Signed-off-by: Stan Grams --- .../trx-backend/trx-backend-soapysdr/src/demod/wfm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/trx-server/trx-backend/trx-backend-soapysdr/src/demod/wfm.rs b/src/trx-server/trx-backend/trx-backend-soapysdr/src/demod/wfm.rs index bb2833f..3c32f88 100644 --- a/src/trx-server/trx-backend/trx-backend-soapysdr/src/demod/wfm.rs +++ b/src/trx-server/trx-backend/trx-backend-soapysdr/src/demod/wfm.rs @@ -25,9 +25,9 @@ const PILOT_NOTCH_Q: f32 = 5.0; /// Narrow 19 kHz band-pass used to derive zero-crossings for switching stereo demod. const PILOT_BPF_Q: f32 = 20.0; /// Fixed phase trim on the recovered L-R channel. -const STEREO_SEPARATION_PHASE_TRIM: f32 = 0.0; +const STEREO_SEPARATION_PHASE_TRIM: f32 = 0.02; /// Fixed gain trim on the recovered L-R channel. -const STEREO_SEPARATION_GAIN: f32 = 1.000; +const STEREO_SEPARATION_GAIN: f32 = 1.12; /// Extra headroom in the stereo matrix. const STEREO_MATRIX_GAIN: f32 = 1.20; /// Stereo detection runs every N composite samples.