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

(US) RDS "Alt. Frequencies" often shows wrong value #1340

Open
n1zyy opened this issue Mar 7, 2024 · 1 comment
Open

(US) RDS "Alt. Frequencies" often shows wrong value #1340

n1zyy opened this issue Mar 7, 2024 · 1 comment
Labels

Comments

@n1zyy
Copy link

n1zyy commented Mar 7, 2024

First, I'm a big fan of Gqrx! Thanks!

I am using 2.17.4 on macOS 14.3.1 (Sonoma), with an Intel chip. The receiver is a cheap NooElec rtl-sdr.

I noticed what I suspect is a minor bug with decoding RDS data on FM radio stations in the United States. I noticed that the line for alternative frequencies is often showing unexpected values: the screenshot below shows 105.7 (WROR-FM) listing 106.7 MHz (WMJX-FM) as an alternate. These stations are arguably competitors, owned by different companies, so it would be weird to list one as an alternate.

Screenshot 2024-03-06 at 10 27 34 PM

I initially assumed it was an RDS programming mistake at the station, but if I tune to 106.3, it also lists 106.7 as its alternate frequency. And if I move to 104.5, then that value becomes the one that sticks on other stations. Here's the same 105.7 station after having tuned to 104.5:

Screenshot 2024-03-06 at 10 46 34 PM

Toggling "Enable RDS" off will clear all the values from the display (of course), but when re-enabling it, the incorrect alternate frequency value comes back almost immediately. If I tune to a very weak station (or one that otherwise doesn't appear to set any RDS data), the value is not there--it only comes in when there is some RDS data.

I suspect, without knowing my way around this code (or the intricacies of decoding RDS), that what is happening is that the field is displaying the last alternate frequency value that was set on any station, or something along those lines.

I probably don't have the C++ chops to find and fix this directly, but am happy to help debug in more detail if it's useful.

@argilo argilo added the bug label Mar 19, 2024
@argilo
Copy link
Member

argilo commented Mar 19, 2024

Thanks for the bug report.

I suspect, without knowing my way around this code (or the intricacies of decoding RDS), that what is happening is that the field is displaying the last alternate frequency value that was set on any station, or something along those lines.

This sounds plausible, since I don't think frequency changes cause the RDS data structures to be reset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants