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

clip issue's solution #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

junjun3518
Copy link

@junjun3518 junjun3518 commented Jul 8, 2021

Simpler solution for clipping.
Clip noise #73 (comment) is caused by multiplying 2^15(half of int16), while int16's range is [-2^15, 2^15-1], it caused during abs max value is positive.
This commit solves this by multiplying 2^15-1 instead of 2^15.

@junjun3518
Copy link
Author

junjun3518 commented Jul 8, 2021

After this commit & Before this commit
image

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.

1 participant