Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(743)

Issue 1885723003: Implement Biquad lowpass and highpass filters according to spec (Closed)

Created:
4 years, 8 months ago by Raymond Toy
Modified:
4 years, 6 months ago
Reviewers:
hongchan
CC:
blink-reviews, chromium-reviews, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement Biquad lowpass and highpass filters according to spec The WebAudio spec has changed the definition of the lowpass and highpass filters slightly because some lowpass and highpass filters could not be represented by the existing filters. Update implementation to match spec. This will cause some very slight difference in sound quality for some values of Q. The new filters were careful to preserve the sound as much as possible. WebAudio issue https://github.com/WebAudio/web-audio-api/issues/771. Resolution: https://github.com/WebAudio/web-audio-api/pull/795 Feature: https://www.chromestatus.com/features/5687523284090880 BUG=597432 TEST=biquad-*.html, iirfilter-getFrequencyResponse.thml, iirfilter.html Committed: https://crrev.com/10494397a89162ce998d4ab18761a530d690d67c Cr-Commit-Position: refs/heads/master@{#399519}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase and use pow, not std::pow #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -84 lines) Patch
M third_party/WebKit/LayoutTests/webaudio/biquad-allpass.html View 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/biquad-bandpass.html View 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/biquad-highpass.html View 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/biquad-highshelf.html View 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/biquad-lowpass.html View 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/biquad-lowshelf.html View 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/biquad-notch.html View 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/biquad-peaking.html View 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/biquad-tail.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/biquad-tail-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/iirfilter.html View 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/iirfilter-expected.txt View 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/iirfilter-getFrequencyResponse-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/resources/biquad-filters.js View 4 chunks +27 lines, -26 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/resources/biquad-testing.js View 4 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/audio/Biquad.cpp View 1 2 3 2 chunks +28 lines, -30 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
Raymond Toy
PTAL. The main change is Biquad.cpp, with updated results for biquad-lowpass.html and biquad-highpass.html. In modifying ...
4 years, 8 months ago (2016-04-18 20:12:59 UTC) #3
Raymond Toy
On 2016/04/18 at 20:12:59, Raymond Toy wrote: > PTAL. > > The main change is ...
4 years, 8 months ago (2016-04-18 20:13:39 UTC) #4
hongchan
On 2016/04/18 20:13:39, Raymond Toy wrote: > On 2016/04/18 at 20:12:59, Raymond Toy wrote: > ...
4 years, 8 months ago (2016-04-20 16:27:47 UTC) #5
hongchan
On 2016/04/20 16:27:47, hoch wrote: > On 2016/04/18 20:13:39, Raymond Toy wrote: > > On ...
4 years, 8 months ago (2016-04-20 17:50:23 UTC) #6
Raymond Toy
PTAL.
4 years, 8 months ago (2016-04-26 18:37:52 UTC) #7
hongchan
lgtm
4 years, 8 months ago (2016-04-26 18:41:41 UTC) #8
Raymond Toy
I'm going to wait a little while before landing this pending more data on the ...
4 years, 7 months ago (2016-05-13 22:13:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1885723003/80001
4 years, 6 months ago (2016-06-13 16:18:49 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/162313)
4 years, 6 months ago (2016-06-13 17:28:21 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1885723003/80001
4 years, 6 months ago (2016-06-13 17:59:18 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-13 20:12:10 UTC) #19
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-13 20:12:37 UTC) #20
commit-bot: I haz the power
4 years, 6 months ago (2016-06-13 20:13:23 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/10494397a89162ce998d4ab18761a530d690d67c
Cr-Commit-Position: refs/heads/master@{#399519}

Powered by Google App Engine
This is Rietveld 408576698