windytan / redsea

Command-line FM-RDS decoder with JSON output.
MIT License
390 stars 36 forks source link

Quality indicator #42

Closed andimik closed 7 years ago

andimik commented 7 years ago

Is there a kind of quality indicator?

windytan commented 7 years ago

Not currently, no.

Currently, all information that is printed out has to be related to a group. So perhaps the quality indicator could be a per-group bit error rate (BER) estimate? Would that be useful in any way?

Or maybe there could be a special JSON key-value pair to indicate when parts of the group were missed (incomplete group)?

andimik commented 7 years ago

Well, there is already such one, it is optical, not electronic. By using -x you see lost frames (those having minuses)

But my problem is, I always write it to a sample file, so the output is redirected, not displayed.

I googled and found "tee" might solve it. I'll try.

andimik commented 7 years ago

Although I am not a programmer I tried to send you a PR

https://github.com/windytan/redsea/pull/43

windytan commented 7 years ago

With the --bler option you can now see an estimate of the block error rate, as a percentage of blocks containing errors during the last 12 groups.