Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix BiquadFilterNode's lowpass & highpass filters
https://bugs.webkit.org/show_bug.cgi?id=216852 Reviewed by Eric Carlson. Source/WebCore: Fix BiquadFilterNode's lowpass & highpass filters. They incorrectly clamp the resonance to make it positive. Formulas for the filters are specified here: - https://www.w3.org/TR/webaudio/#filters-characteristics No new tests, rebaselined existing tests. * platform/audio/Biquad.cpp: (WebCore::pow10): (WebCore::Biquad::setLowpassParams): (WebCore::Biquad::setHighpassParams): LayoutTests: Rebaseline tests that are now passing. * webaudio/BiquadFilter/tail-time-highpass-expected.txt: * webaudio/BiquadFilter/tail-time-lowpass-expected.txt: Canonical link: https://commits.webkit.org/229641@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
5 changed files
with
60 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters