pvachon / tsl-sdr

Software Defined Radio Demodulation and Decoding Tools
125 stars 14 forks source link

CSQ & CTCSS Support #21

Open lilrags16 opened 4 years ago

lilrags16 commented 4 years ago

The ability to define Carrier Squelch or CTCSS at the FM level would be a great feature that I think would help significantly for anyone who is not trying to collect digital data modes

W3AXL commented 3 years ago

+1 on this request. I'll take a look at the source to see if at least CSQ would be relatively trivial to add. Especially for my use case, having CSQ muting would be very beneficial.

W3AXL commented 3 years ago

My Sunday evening project was to try and get basic CSQ functionality working.

See PR #23 for details

W3AXL commented 2 years ago

Update on CSQ efforts (a year and a half later, hooray!)

I'm going to take a second stab at implementing CSQ for multifm. New approach will be to use a noise-power based algorithm that measures the level of the out-of-band (5khz+) noise and squelches on that, as opposed to a purely signal-level based squelch which is beholden to SDR gains and local RF environments.

To be determined is the most efficient algorithm for doing so. Most implementations use a high-pass filter on the demodulated FM, but I'll have to see how well this works with the reduced sample rates post-demodulation.

W3AXL commented 2 years ago

See PR #26 for my new attempt at adding squelch - this adds a standalone squelch utility which currently does CSQ, and in the future could do CTCSS and DCS.