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

Suggestion: better volume control when using the M0PUB AGC #57

Open
arodland opened this issue Oct 14, 2021 · 2 comments
Open

Suggestion: better volume control when using the M0PUB AGC #57

arodland opened this issue Oct 14, 2021 · 2 comments

Comments

@arodland
Copy link

The new slow AGC algorithm already uses a multiply, so how about, if it's active, make the AGC threshold a function of volume and skip the right-shift volume control (which sounds like crud at any setting below 8). There should be no CPU penalty — the thresholds can be in a PROGMEM lookup table (just 52 bytes or so) and eliminating the right-shift should about make up for the cost of fetching them to register.

I'd try it myself and send a PR, but I'm more of a software guy than a hardware guy; I bought an eBay unit and I haven't gotten it disassembled far enough to get at the ISP connector yet :)

@threeme3
Copy link
Owner

Think this is a great suggestion. Making AGC threshold a function of volume could simplify things for SSB/CW.
Then volume control becomes basically an attenuation control (like ATT2) and this may reduce potential overloads further-on in the DSP processing chain (in the presence of strong signal). Will need to look into this to see if this is really possible.

Regarding ISP programming an eBay unit, Scott figured out how to: https://groups.io/g/ucx/message/10339
Thanks!

@arodland
Copy link
Author

That's a different unit than I have, but appreciated anyhow!

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

No branches or pull requests

2 participants