mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-01 19:16:29 -04:00
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:
parent
1a87f2d701
commit
536981998b
5 changed files with 149 additions and 46 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue