From 50bd08d9fff4b5dba7e0f6b46f234a047d6c6b4c Mon Sep 17 00:00:00 2001 From: Timo Taskinen Date: Tue, 7 Jun 2022 02:05:17 +0300 Subject: [PATCH 1/3] Fix AM bandwidth and sampling rate in scanner (#671) In scanner app, the bandwidth and sampling rate for AM modulation was incorrect. This resulted in high pitched and distorted sound. I have now copied the settings from the Audio receiver app, and now the sound in Scanner sounds good also in AM mode. --- firmware/application/apps/ui_scanner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/application/apps/ui_scanner.cpp b/firmware/application/apps/ui_scanner.cpp index 3bd350c8b..29cdb10db 100644 --- a/firmware/application/apps/ui_scanner.cpp +++ b/firmware/application/apps/ui_scanner.cpp @@ -540,7 +540,7 @@ size_t ScannerView::change_mode(uint8_t new_mod) { //Before this, do a scan_thre field_bw.set_selected_index(0); receiver_model.set_am_configuration(field_bw.selected_index()); field_bw.on_change = [this](size_t n, OptionsField::value_t) { receiver_model.set_am_configuration(n); }; - receiver_model.set_sampling_rate(2000000);receiver_model.set_baseband_bandwidth(2000000); + receiver_model.set_sampling_rate(3072000); receiver_model.set_baseband_bandwidth(1750000); break; case WFM: bw.emplace_back("16k", 0); From fa2791004f7c18fdf889959308783a33d4173110 Mon Sep 17 00:00:00 2001 From: jLynx Date: Wed, 8 Jun 2022 19:20:52 +1200 Subject: [PATCH 2/3] Update past_version.txt --- .github/workflows/past_version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/past_version.txt b/.github/workflows/past_version.txt index 53b5bbb12..f1a2e631d 100644 --- a/.github/workflows/past_version.txt +++ b/.github/workflows/past_version.txt @@ -1 +1 @@ -v1.5.1 +v1.5.3 From 15f3d817989369eca91fcf54e2ac063027d5a2bd Mon Sep 17 00:00:00 2001 From: jLynx Date: Wed, 8 Jun 2022 19:21:01 +1200 Subject: [PATCH 3/3] Update version.txt --- .github/workflows/version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/version.txt b/.github/workflows/version.txt index f1a2e631d..f074f24d2 100644 --- a/.github/workflows/version.txt +++ b/.github/workflows/version.txt @@ -1 +1 @@ -v1.5.3 +v1.5.4