From 605531184b008d18f559c198dd099e58a08a465b Mon Sep 17 00:00:00 2001 From: Stan Grams Date: Tue, 3 Mar 2026 01:59:50 +0100 Subject: [PATCH] [fix](trx-backend-soapysdr): raise AM audio gain Retune the AM audio AGC target, timing, and headroom so the restored envelope demod path plays back at a stronger level. Co-authored-by: Stan Grams Signed-off-by: Stan Grams --- .../trx-backend/trx-backend-soapysdr/src/dsp/channel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trx-server/trx-backend/trx-backend-soapysdr/src/dsp/channel.rs b/src/trx-server/trx-backend/trx-backend-soapysdr/src/dsp/channel.rs index febd39c..dc7cea8 100644 --- a/src/trx-server/trx-backend/trx-backend-soapysdr/src/dsp/channel.rs +++ b/src/trx-server/trx-backend/trx-backend-soapysdr/src/dsp/channel.rs @@ -14,7 +14,7 @@ fn agc_for_mode(mode: &RigMode, audio_sample_rate: u32) -> SoftAgc { let sr = audio_sample_rate.max(1) as f32; match mode { RigMode::CW | RigMode::CWR => SoftAgc::new(sr, 1.0, 50.0, 0.5, 30.0), - RigMode::AM => SoftAgc::new(sr, 500.0, 5_000.0, 0.5, 30.0), + RigMode::AM => SoftAgc::new(sr, 250.0, 4_000.0, 0.8, 40.0), _ => SoftAgc::new(sr, 5.0, 500.0, 0.5, 30.0), } }