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

RTL2832 Native Buffers Have Inherent DC Bias #1284

Closed
DSheirer opened this issue Jul 16, 2022 · 0 comments
Closed

RTL2832 Native Buffers Have Inherent DC Bias #1284

DSheirer opened this issue Jul 16, 2022 · 0 comments
Assignees
Milestone

Comments

@DSheirer
Copy link
Owner

The ByteNativeBuffer and corresponding factory are mapping 8-bit samples (0 - 255) from the RTL2832 dongles to the range of:

  • -128 to -1 and 0 to 127

This results in an inherent -0.5 DC offset and the auto DC removal feature is auto-correcting the bias.

Update the ByteNativeBuffer's sample conversion code to map the values to:

  • -127.5 to -0.5 and 0.5 to 127.5
@DSheirer DSheirer added this to the Build 0.5.0 milestone Jul 16, 2022
@DSheirer DSheirer self-assigned this Jul 16, 2022
DSheirer pushed a commit that referenced this issue Jul 16, 2022
DSheirer added a commit that referenced this issue Jul 16, 2022
…onversion code. (#1285)

Co-authored-by: Dennis Sheirer <dsheirer@github.com>
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

No branches or pull requests

1 participant