-
Notifications
You must be signed in to change notification settings - Fork 37
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
Auto Squelch for FM #43
Comments
Are you sure that in:
You only want CXBimag(fm->obuf,i) to be 0? What about CXBreal(fm->obuf,i) ? Alex On Fri, Oct 28, 2016 at 7:03 PM, vigeruno [email protected] wrote:
|
https://github.com/vigeruno/ghpsdr3-vigeruno/blob/master/trunk/src/DttSP/fm_demod.c Regards..... |
Ok I see :) I have updated the repo with a slight change. Please test. On Fri, 28 Oct, 2016 8:51 pm vigeruno, [email protected] wrote:
|
Ok. Corrected. On Sun, 30 Oct, 2016 1:51 am vigeruno, [email protected] wrote:
|
Hello.
A simple automatic squelch for FM.
Useful for those who listen to FM glsdr without getting a headache.
diff --git a/trunk/src/DttSP/fm_demod.c b/trunk/src/DttSP/fm_demod.c
index 7e8eecb..d4197d2 100644
--- a/trunk/src/DttSP/fm_demod.c
+++ b/trunk/src/DttSP/fm_demod.c
@@ -86,13 +86,14 @@ pll (FMD fm, COMPLEX sig)
void
FMDemod (FMD fm)
{
for (i = 0; i < CXBsize (fm->ibuf); i++)
{
pll (fm, CXBdata (fm->ibuf, i));
fm->afc = (REAL) (0.9999 * fm->afc + 0.0001 * fm->pll.freq.f);
}
Regards.....
The text was updated successfully, but these errors were encountered: