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

Issue 1803233002: AnalyserNode should downmix channels to mono. (Closed)

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

Description

AnalyserNode should downmix channels to mono. In an AnalyserNode, the input data should be downmixed to mono according to the down mixing rules before returning the time or frequency data. Chrome currently just sums all of the channels together. See issue https://github.com/WebAudio/web-audio-api/issues/719 that clarifies how downmixing is done. BUG=564939 TEST=realtimeanalyser-downmix.html Committed: https://crrev.com/e73947aa166aa79759d3d54e703b07f91a1bc8e3 Cr-Commit-Position: refs/heads/master@{#382376}

Patch Set 1 #

Patch Set 2 : Adjust error thresholds and print precision for mac and win #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -18 lines) Patch
A third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-downmix.html View 1 2 3 4 1 chunk +127 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-downmix-expected.txt View 1 1 chunk +29 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/resources/realtimeanalyser-testing.js View 2 chunks +10 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/RealtimeAnalyser.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/RealtimeAnalyser.cpp View 1 2 3 2 chunks +6 lines, -14 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
Raymond Toy
PTAL
4 years, 9 months ago (2016-03-16 21:18:18 UTC) #2
hongchan
lgtm https://codereview.chromium.org/1803233002/diff/60001/third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-downmix.html File third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-downmix.html (right): https://codereview.chromium.org/1803233002/diff/60001/third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-downmix.html#newcode84 third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-downmix.html:84: // Run analyser as an automatic pull node. ...
4 years, 9 months ago (2016-03-16 21:51:42 UTC) #3
Raymond Toy
https://codereview.chromium.org/1803233002/diff/60001/third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-downmix.html File third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-downmix.html (right): https://codereview.chromium.org/1803233002/diff/60001/third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-downmix.html#newcode84 third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-downmix.html:84: // Run analyser as an automatic pull node. Do ...
4 years, 9 months ago (2016-03-16 21:58:23 UTC) #4
Raymond Toy
https://codereview.chromium.org/1803233002/diff/60001/third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-downmix.html File third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-downmix.html (right): https://codereview.chromium.org/1803233002/diff/60001/third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-downmix.html#newcode84 third_party/WebKit/LayoutTests/webaudio/realtimeanalyser-downmix.html:84: // Run analyser as an automatic pull node. Do ...
4 years, 9 months ago (2016-03-18 17:33:04 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1803233002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1803233002/80001
4 years, 9 months ago (2016-03-21 18:13:18 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-21 20:40:56 UTC) #11
commit-bot: I haz the power
4 years, 9 months ago (2016-03-21 20:42:15 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e73947aa166aa79759d3d54e703b07f91a1bc8e3
Cr-Commit-Position: refs/heads/master@{#382376}

Powered by Google App Engine
This is Rietveld 408576698