Mo
b8ad44c431
Opt-in channel-power squelch for AM audio RX ( #3315 )
...
* AM: add opt-in channel-power squelch for AM audio RX
Add an SDR++-style power squelch on the complex channel signal for the
Analog Audio RX app in AM modes (DSB/SSB/CW). The squelch measures the
mean channel power, converts it to dBFS, and mutes the demodulated audio
when the signal is below a user-set threshold. Being carrier-based it
keys on the AM carrier (e.g. airband/ATC) rather than on audio-band
noise, which the existing FM squelch could not do for AM.
A new 'SQ' field (0-99, 0 = off) is added to the AM options view and is
persisted per app via app_settings. Default is 0, so existing AM
behaviour is unchanged unless the user enables it. Threshold maps 1..99
to -80..-20 dBFS.
Touches: message (AMConfigureMessage.squelch_level), baseband_api
(AMConfig::apply), receiver_model (am_squelch_level get/set),
app_settings (persistence), proc_am_audio (DSP), analog_audio_app (UI).
* Refactor audio power calculation to use magnitude squared
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-09-14 20:54:54 +02:00
..
2023-05-19 08:16:05 +12:00
2017-07-23 12:20:32 +01:00
2025-05-11 21:11:15 +02:00
2025-05-11 21:11:15 +02:00
2025-08-27 06:37:57 +00:00
2016-01-31 09:34:24 +01:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2026-04-10 08:33:48 +02:00
2026-04-10 08:33:48 +02:00
2023-05-19 08:16:05 +12:00
2026-01-25 10:01:33 +01:00
2023-05-19 08:16:05 +12:00
2024-10-14 15:50:04 +02:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2026-03-08 13:39:53 +13:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2026-06-22 16:20:49 +02:00
2026-06-11 10:52:20 +02:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2025-10-03 19:10:10 +02:00
2026-06-16 17:54:32 +02:00
2025-11-21 09:30:01 +01:00
2023-05-19 08:16:05 +12:00
2024-10-14 15:50:04 +02:00
2023-05-19 08:16:05 +12:00
2023-08-02 21:59:26 +02:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-22 13:08:59 -07:00
2026-05-09 12:23:43 +02:00
2023-07-17 11:43:37 -07:00
2024-12-05 08:12:14 +01:00
2024-12-05 08:12:14 +01:00
2026-02-21 16:48:23 +13:00
2024-02-14 23:17:33 +01:00
2024-01-02 00:18:53 +01:00
2024-01-02 00:18:53 +01:00
2024-10-07 15:58:37 +02:00
2023-05-14 23:09:43 +02:00
2023-05-19 08:16:05 +12:00
2016-01-31 09:34:24 +01:00
2026-08-28 12:30:18 +02:00
2026-07-04 08:49:21 +02:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2025-03-07 17:28:11 +01:00
2021-03-21 20:21:50 -05:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2024-02-10 16:56:50 +01:00
2024-02-10 16:56:50 +01:00
2016-01-31 09:34:24 +01:00
2023-05-19 08:16:05 +12:00
2024-11-23 21:37:03 +01:00
2024-12-20 07:55:39 +01:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2026-04-18 21:15:05 +02:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2026-06-19 07:48:55 +02:00
2026-08-23 12:20:14 +02:00
2023-05-19 08:16:05 +12:00
2026-07-10 21:37:41 +02:00
2019-02-03 18:25:11 +00:00
2026-05-31 12:44:40 +02:00
2024-10-06 22:14:27 +02:00
2024-10-06 22:14:27 +02:00
2026-06-11 10:52:20 +02:00
2024-10-06 22:14:27 +02:00
2025-10-28 10:14:11 +08:00
2024-10-06 22:14:27 +02:00
2024-10-06 22:14:27 +02:00
2024-10-06 22:14:27 +02:00
2026-06-25 09:08:44 +02:00
2026-06-22 16:20:49 +02:00
2024-11-08 11:46:27 +01:00
2026-04-29 19:57:17 +02:00
2026-04-23 13:18:56 +02:00
2024-10-06 22:14:27 +02:00
2024-10-06 22:14:27 +02:00
2025-10-28 10:14:11 +08:00
2025-10-28 10:14:11 +08:00
2025-10-28 10:14:11 +08:00
2024-11-08 11:46:27 +01:00
2026-08-21 19:56:54 +02:00
2026-02-11 09:15:11 +01:00
2023-05-19 08:16:05 +12:00
2017-02-13 05:35:13 +00:00
2025-06-05 07:08:03 -07:00
2024-01-02 00:18:53 +01:00
2024-01-02 00:18:53 +01:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2024-01-02 00:18:53 +01:00
2026-08-21 19:56:54 +02:00
2026-08-20 20:46:29 +02:00
2025-10-18 13:13:51 +02:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2025-12-14 11:26:21 +01:00
2025-08-27 06:37:57 +00:00
2026-02-22 21:21:03 +01:00
2023-05-19 08:16:05 +12:00
2025-12-14 11:26:21 +01:00
2026-09-14 20:54:54 +02:00
2026-02-24 11:23:41 +01:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-06-26 19:44:01 +02:00
2023-09-02 00:35:43 +02:00
2023-05-19 08:16:05 +12:00
2023-04-24 13:04:59 +02:00
2026-06-11 13:24:42 +02:00
2023-02-16 12:10:26 +00:00
2025-05-23 00:23:35 +08:00
2025-05-22 23:24:53 +08:00
2016-08-23 08:45:33 +02:00
2026-04-10 08:35:43 +02:00
2026-04-18 18:56:33 +02:00
2026-04-10 08:35:43 +02:00
2026-03-17 08:13:09 +01:00
2026-02-11 09:15:11 +01:00
2023-05-19 08:16:05 +12:00
2026-07-10 21:37:41 +02:00
2026-08-20 20:46:29 +02:00
2026-08-20 20:46:29 +02:00
2026-08-20 20:46:29 +02:00
2026-08-20 20:46:29 +02:00
2023-05-19 08:16:05 +12:00
2026-05-12 12:45:02 +02:00
2023-05-19 08:16:05 +12:00
2025-12-14 11:26:21 +01:00
2023-06-11 11:47:13 -07:00
2023-05-19 08:16:05 +12:00
2026-06-12 16:26:13 +02:00
2023-05-19 08:16:05 +12:00
2025-11-26 19:13:21 +01:00
2025-11-26 19:13:21 +01:00
2026-07-09 09:10:08 +02:00
2025-12-14 11:26:21 +01:00
2025-11-05 20:53:23 +01:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-07-23 08:54:17 +02:00
2023-05-19 08:16:05 +12:00
2023-05-19 08:16:05 +12:00
2023-06-10 07:50:42 +12:00
2024-02-10 16:56:50 +01:00
2024-02-10 16:56:50 +01:00
2026-03-04 21:30:43 +01:00
2024-10-14 13:07:41 +02:00
2024-11-18 14:51:49 +01:00
2024-11-18 14:51:49 +01:00
2026-07-07 11:04:34 +02:00
2026-07-07 11:04:34 +02:00
2023-07-12 07:14:00 -05:00
2024-10-14 13:07:41 +02:00
2026-08-19 10:15:39 +08:00
2026-08-19 10:15:39 +08:00
2025-05-22 23:24:53 +08:00
2026-06-15 19:28:47 +02:00
2026-02-16 15:50:27 +01:00
2024-01-27 13:29:24 +01:00
2023-05-19 08:16:05 +12:00
2026-02-24 11:23:41 +01:00
2025-10-03 19:10:10 +02:00
2023-06-05 20:09:50 +02:00
2026-04-10 08:33:48 +02:00
2026-04-10 08:33:48 +02:00