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

Fix issue possibly degrading RADE RX audio quality. #804

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

tmiw
Copy link
Collaborator

@tmiw tmiw commented Jan 13, 2025

Walter K5WH reported that the latest test build of 2.0 didn't sound as good on RADE as the 20241018 version. Using the RADE tools and the automated test framework, I recorded a loss of 0.182 between freedv-gui and radae_rx in the RADE repo. After implementing the code change in this PR, the loss dropped to 0.001.

(See companion issue drowe67/radae#41 indicating minimal loss between Python and C decoders.)

@Tyrbiter
Copy link

After a quick search, it seems that float gives 6 or 7 decimal places of precision, while double gives 15 digits. That could explain it, unless something changed in the compiler.

@tmiw
Copy link
Collaborator Author

tmiw commented Jan 13, 2025

After a quick search, it seems that float gives 6 or 7 decimal places of precision, while double gives 15 digits. That could explain it, unless something changed in the compiler.

My VM that I use for Windows builds got trashed recently so I had to rebuild it. It's possible that messed something up too (i.e. due to using a different llvm-mingw than before). Though I was also noticing higher loss on macOS before this change.

Anyway, you didn't happen to notice any quality differences with this change, right?

@Tyrbiter
Copy link

Tyrbiter commented Jan 13, 2025

Between the October 18th release and this commit in early December:

#776

the way the incoming data is processed changed a bit, or so it seems.

Personally I didn't notice much but then I keep running new code as it evolves so maybe the quality difference passed me by and off-air signals tend to be quite variable.

I suppose Walter ought to try a build with this change and see if the speech quality is back to how it was originally.

After seeing the comment closing drowe67/radae#41 are you going to merge this change?

@Tyrbiter
Copy link

Might there be a connection with this issue #777 ?

@tmiw
Copy link
Collaborator Author

tmiw commented Jan 14, 2025

After seeing the comment closing drowe67/radae#41 are you going to merge this change?

We'll probably have to do a third test build in light of the other reported bugs, so might as well.

Might there be a connection with this issue #777 ?

If anything, that should have improved audio quality.

@tmiw tmiw merged commit c1b4338 into v2.0-dev Jan 14, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants