Decode status widget (#1431)

* Initial cleanup of pocsag beta, using DSP filters

* Better filter params

* Better filter

* Add signal diagnostics widgets

* POCSAG procs sends stats messages

* Only draw 32 bits

* Add AudioNormalizer filter
This commit is contained in:
Kyle Reed 2023-09-03 21:49:44 -07:00 committed by GitHub
parent 2435ee780f
commit 4819a2f4e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 305 additions and 230 deletions

View file

@ -137,6 +137,9 @@ class POCSAGProcessor : public BasebandProcessor {
private:
static constexpr size_t baseband_fs = 3072000;
static constexpr uint8_t stat_update_interval = 10;
static constexpr uint32_t stat_update_threshold =
baseband_fs / stat_update_interval;
std::array<complex16_t, 512> dst{};
const buffer_c16_t dst_buffer{
@ -158,7 +161,10 @@ class POCSAGProcessor : public BasebandProcessor {
bool configured = false;
pocsag::POCSAGPacket packet{};
uint32_t samples_processed = 0;
void configure();
void send_stats() const;
// ----------------------------------------
// Frame extractraction methods and members