Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor squelch #225

Merged
merged 4 commits into from
Feb 8, 2021
Merged

Refactor squelch #225

merged 4 commits into from
Feb 8, 2021

Conversation

charlie-foxtrot
Copy link
Owner

This PR refactors the existing squelch algorithm into a new class in an attempt to decouple from the actual demodulation.

The expectation here is no diff in the demodulated output against current code and I verified that using the AM and NFM recordings that I have. (NOTE: I need to make a bug fix on the unstable branch and pushed that for reference here: https://github.com/charlie-foxtrot/RTLSDR-Airband/tree/refactor_squelch_baseline)

There are several places that caused diff (although insignificant) in my first pass, so I made changes here to eliminate the diff and commented as a TODO. I'll remove those and clean up in a following PR (because it will cause some diff).

There is a change in scan mode in that each frequency has its own Squelch object (and therefore state counters), where previously agcsq for squelch status was at the channel level

There is a change in the text UI in that it now shows the squelch level when either manually set or computed, where previously it would show the noise level (not squelch) when the squelch was being computed.

@szpajder szpajder merged commit 9863258 into charlie-foxtrot:unstable Feb 8, 2021
@charlie-foxtrot charlie-foxtrot deleted the refactor_squelch branch June 12, 2021 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants