Level fix and beep, RSSI avg fix (#2027)

* fix average value being overflow'd
* fix audio and mod changes, preps for beep mode
* fixed beep_freq range, added a stop and set a variable sooner
* added support for audio beep messages
* better scaler for beep
* added bip squelch and saving of bip squelch and audio mode
* saving modulation, fixing audio
* added save and restore of bandwidth
* simpler ctcss clean on change mode
This commit is contained in:
gullradriel 2024-03-23 19:27:05 +01:00 committed by GitHub
parent 1a87f2d701
commit 536981998b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 149 additions and 46 deletions

View file

@ -30,6 +30,7 @@
#include "dsp_decimate.hpp"
#include "spectrum_collector.hpp"
#include "stream_input.hpp"
#include "message.hpp"
#include <array>
#include <memory>
@ -92,6 +93,9 @@ class CaptureProcessor : public BasebandProcessor {
void on_message(const Message* const message) override;
private:
void on_signal_message(const RequestSignalMessage& message);
void on_beep_message(const AudioBeepMessage& message);
size_t baseband_fs = 3072000; // aka: sample_rate
static constexpr auto spectrum_rate_hz = 50.0f;