mirror of
https://github.com/airwindows/airwindows.git
synced 2026-05-15 06:05:55 -06:00
[GH-ISSUE #4] Noise shaping bug? #2
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/airwindows#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aceaudio on GitHub (Feb 20, 2018).
Original GitHub issue: https://github.com/airwindows/airwindows/issues/4
1fc3148c06/plugins/MacAU/Acceleration/Acceleration.cpp (L268)This looks to me like a bug. On the line above
fpTemp = inputSample;then on the line linked abovefpNShapeA = (fpNShapeA*fpOld)+((inputSample-fpTemp)*fpNew);this is equivalent tofpNShapeA = (fpNShapeA*fpOld)+((inputSample-inputSample)*fpNew);which is equivalent tofpNShapeA = (fpNShapeA*fpOld)+(0*fpNew);which is equivalent tofpNShapeA = (fpNShapeA*fpOld);I'm assuming that is not intentional?
@airwindows commented on GitHub (Feb 20, 2018):
@aceaudio commented on GitHub (Feb 20, 2018):
Haha I thought I was probably missing something obvious, thanks Chris.
@airwindows commented on GitHub (Feb 20, 2018):
You're welcome. It's the only way I could think of to 'dither' a floating point number properly :)