Replies: 8 comments
-
The logic is, wait for two repeats of the same PI. Then, assume that this is the correct PI code. Random noise can generate erroneous PI codes, but it's unlikely that the error repeats. In your first snippet it seems that 3249 was received twice and then assumed to be the correct PI. If it does happen quite often, maybe some modification to this logic could be designed. Maybe we should wait for three repeats? It should be tested whether this leads to better or poorer reception under noisy conditions. RDS is designed in such a way that block mis-identification (block2 received as block1) should be unlikely. In this case it's hard to say whether this has happened without seeing the raw binary. Edit, but it does look like 51CC vs. 52CC and 3249 vs. 5249 are both just two bit-flips away. |
Beta Was this translation helpful? Give feedback.
-
One thing that comes to mind is we could try disabling error correction when synchronization is lost, so it is not applied to PI code search. RDS error correction will, ironically, cause some more errors to go through undetected (old discussion). Then we could re-enable it once the correct PI code is detected. |
Beta Was this translation helpful? Give feedback.
-
It should be fixed in master after 9016e3e, note that build instructions have also changed |
Beta Was this translation helpful? Give feedback.
-
Will test it as soon as I am able to compile ... |
Beta Was this translation helpful? Give feedback.
-
Have tested with v1.0, but there are still even repeated wrong PI-Codes, but not en suite. The good thing is, that the wrong PI needs to be received 3x ...
I wonder if there is any chance to avoid wrong data? It's coming from |
Beta Was this translation helpful? Give feedback.
-
Do you wish to see fewer errors in the hex output? I could think of adding an option to disable the forward error correction. This would lead to much fewer groups received (more Or you can even try this yourself by opening the file
And then running meson compile again. This would make redsea as strict about errors as it mathematically can. But when there's a lot of noise it's not possible to reject 100% of errors. This is from RDS spec:
|
Beta Was this translation helpful? Give feedback.
-
Or you can also disable forward error correction with |
Beta Was this translation helpful? Give feedback.
-
Oh, many thanks for your measurements. I wanted to do the same, but you were faster than me. Yes, there is less data coming out, but you are right, there is no 100% accuracy possible. I'll close therefore. |
Beta Was this translation helpful? Give feedback.
-
Some enthusiasts in Germany, Austria and Switzerland have an automatic scanning app on a Raspberry PI and use
redsea
for RDS log files. It's https://github.com/hayguen/fmlist_scan (note that I'm using latestredsea
, not the old 0.17 which was in the install script there)But during scans it may happen (when reception is poor), that a transmitter is identified with a completely wrong PI code. It's difficult to find the root cause out, but I achieved to searched in the (verbose) log files I've made.
I also don't know if the wrong code was coming from another RDS block, but obviously it's not (I checked an error-free recording for that case).
For example, the correct PI is 0x51CC in real. The following RDS blocks were detected
(Mind the similar codes 52CC in RDS group B, but in an error-free recording, see below, it is not transmitted.)
which then was logged in
redsea
asand shown in our app as
One minute later, similar reception issues, but the first line already showed the correct PI-Code 0x51CC.
and
redsea
has ignored 0x463A and 0x35AF, fortunately:It seems that the first received PI (even when wrong) is used, no matter if later wrong codes were detected, right?
I'll try to set use longer recordings if necessary. As it happens were rarely, I might run out of space when saving all WAV files as well.
But I don't understand that some blocks in RDS group B look similar to the PI-Code in group A (51CC <-> 52CC). Can you exclude there is an offset in
redsea
?http://andimik.bplaced.net/rds/spyfiles/51CC_-_2023-12-01_19-19-44.spy
Beta Was this translation helpful? Give feedback.
All reactions