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 bitcrush formula #397

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

Conversation

ashinkajay
Copy link

The scaleFactor used to multiply the the array to create the representation using new bit depth is 2**bit_depth.
But this will result in a representation with more than the expected bits.

The expected formula is: scaleFactor = (2**new_bit_depth)/2+1
New formula reference

Closes #396

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.

Wrong formula used for BitCrush
1 participant