mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-16 19:43:01 +00:00
Fix LF/MF RX centering with adaptive FS4 tuning (#3319)
* Fix LF/MF RX tuning with adaptive FS4 shift * Enable adaptive FS4 tuning in Waterfall Designer
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include "audio_output.hpp"
|
||||
#include "filtered_spectrum_collector.hpp"
|
||||
|
||||
#include <atomic>
|
||||
#include <cstdint>
|
||||
|
||||
class NarrowbandAMAudio : public BasebandProcessor {
|
||||
@@ -59,6 +60,10 @@ class NarrowbandAMAudio : public BasebandProcessor {
|
||||
audio.size()};
|
||||
|
||||
dsp::decimate::FIRC8xR16x24FS4Decim4 decim_0{};
|
||||
std::array<int16_t, 24> decim_0_taps_{};
|
||||
std::atomic<RxFs4Direction> requested_fs4_direction_{RxFs4Direction::Down};
|
||||
RxFs4Direction applied_fs4_direction_{RxFs4Direction::Down};
|
||||
void configure_fs4(const std::array<int16_t, 24>& taps);
|
||||
dsp::decimate::FIRC16xR16x16Decim2 audio_decim_0{};
|
||||
dsp::FrequencyTranslatingDecimator32By8 translating_decim_1{};
|
||||
dsp::decimate::FIRAndDecimateComplex decim_2{};
|
||||
|
||||
Reference in New Issue
Block a user