From 1ba9c9dd3ed22e4fe196da2d649b55461268d255 Mon Sep 17 00:00:00 2001 From: Stan Grams Date: Sun, 1 Mar 2026 09:11:50 +0100 Subject: [PATCH] [fix](trx-backend-soapysdr): widen wfm audio bandwidth to 18 kHz Co-Authored-By: Claude Opus 4.6 Signed-off-by: Stan Grams --- src/trx-server/trx-backend/trx-backend-soapysdr/src/demod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trx-server/trx-backend/trx-backend-soapysdr/src/demod.rs b/src/trx-server/trx-backend/trx-backend-soapysdr/src/demod.rs index 6dda4d5..7be1a8a 100644 --- a/src/trx-server/trx-backend/trx-backend-soapysdr/src/demod.rs +++ b/src/trx-server/trx-backend/trx-backend-soapysdr/src/demod.rs @@ -13,7 +13,7 @@ const PILOT_HZ: f32 = 19_000.0; /// Audio bandwidth for WFM (Hz). /// 15.8 kHz leaves guard band below the 19 kHz pilot and reduces top-end /// artifacts on strong signals while preserving the useful broadcast range. -const AUDIO_BW_HZ: f32 = 15_800.0; +const AUDIO_BW_HZ: f32 = 18_000.0; /// Stereo L-R subchannel bandwidth for WFM (Hz). /// Must match AUDIO_BW_HZ so the sum and diff filter paths have identical /// group delay, which is critical for stereo separation across all frequencies.