mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-29 17:17:28 -04:00
Adding 2 WFM filters more to current Audio App ( bw 180Khz and 40 khz to support rx for weather NOAA APT) (#961)
* First part new filter 40k for NOAA in Audio App * Adding a third WFM filter 180Khz general pursose
This commit is contained in:
parent
3cb927c840
commit
dfadd38e32
6 changed files with 105 additions and 4 deletions
|
@ -73,8 +73,8 @@ void NBFMConfig::apply(const uint8_t squelch_level) const {
|
|||
|
||||
void WFMConfig::apply() const {
|
||||
const WFMConfigureMessage message {
|
||||
taps_200k_wfm_decim_0,
|
||||
taps_200k_wfm_decim_1,
|
||||
decim_0, // taps_200k_decim_0 , taps_180k_wfm_decim_0, taps_40k_wfm_decim_0
|
||||
decim_1, // taps_200k_decim_1 or taps_180k_wfm_decim_1, taps_40k_wfm_decim_1
|
||||
taps_64_lp_156_198,
|
||||
75000,
|
||||
audio_48k_hpf_30hz_config,
|
||||
|
@ -84,6 +84,7 @@ void WFMConfig::apply() const {
|
|||
audio::set_rate(audio::Rate::Hz_48000);
|
||||
}
|
||||
|
||||
|
||||
void set_tone(const uint32_t index, const uint32_t delta, const uint32_t duration) {
|
||||
shared_memory.bb_data.tones_data.tone_defs[index].delta = delta;
|
||||
shared_memory.bb_data.tones_data.tone_defs[index].duration = duration;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue