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

Issue 691143007: Implement StereoPannerNode for robust stereo panning (Closed)

Created:
6 years, 1 month ago by hongchan
Modified:
6 years, 1 month ago
Reviewers:
haraken, tkent, Raymond Toy
CC:
blink-reviews, Raymond Toy
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

StereoPannerNode represents a processing node which positions an incoming audio stream in a stereo image using a low-cost equal-power panning algorithm. The detailed specification of the node can be found here: http://webaudio.github.io/web-audio-api/#the-stereopannernode-interface See also: https://github.com/WebAudio/web-audio-api/issues/372 BUG=432194 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185632

Patch Set 1 #

Total comments: 32

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Total comments: 10

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+766 lines, -5 lines) Patch
A LayoutTests/webaudio/stereopannernode-basic.html View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
A LayoutTests/webaudio/stereopannernode-basic-expected.txt View 1 1 chunk +17 lines, -0 lines 0 comments Download
A LayoutTests/webaudio/stereopannernode-panning.html View 1 2 3 1 chunk +185 lines, -0 lines 0 comments Download
A + LayoutTests/webaudio/stereopannernode-panning-expected.txt View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M Source/modules/webaudio/AudioContext.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M Source/modules/webaudio/AudioContext.cpp View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M Source/modules/webaudio/AudioContext.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/webaudio/AudioNode.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/webaudio/AudioNode.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
A Source/modules/webaudio/StereoPannerNode.h View 1 2 1 chunk +53 lines, -0 lines 0 comments Download
A Source/modules/webaudio/StereoPannerNode.cpp View 1 2 3 4 5 1 chunk +166 lines, -0 lines 0 comments Download
A + Source/modules/webaudio/StereoPannerNode.idl View 1 2 3 4 5 1 chunk +6 lines, -3 lines 0 comments Download
A Source/platform/audio/Spatializer.h View 1 2 3 4 1 chunk +47 lines, -0 lines 0 comments Download
A Source/platform/audio/Spatializer.cpp View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
A Source/platform/audio/StereoPanner.h View 1 2 3 1 chunk +35 lines, -0 lines 0 comments Download
A Source/platform/audio/StereoPanner.cpp View 1 2 1 chunk +159 lines, -0 lines 0 comments Download
M Source/platform/blink_platform.gypi View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (9 generated)
Raymond Toy
https://codereview.chromium.org/691143007/diff/1/LayoutTests/webaudio/stereopannernode-basic.html File LayoutTests/webaudio/stereopannernode-basic.html (right): https://codereview.chromium.org/691143007/diff/1/LayoutTests/webaudio/stereopannernode-basic.html#newcode20 LayoutTests/webaudio/stereopannernode-basic.html:20: } I think the if statement is no longer ...
6 years, 1 month ago (2014-11-11 19:41:47 UTC) #2
hongchan
Thanks for the review. Please take a look at few followups. https://codereview.chromium.org/691143007/diff/1/LayoutTests/webaudio/stereopannernode-basic.html File LayoutTests/webaudio/stereopannernode-basic.html (right): ...
6 years, 1 month ago (2014-11-12 00:06:54 UTC) #3
Raymond Toy
https://codereview.chromium.org/691143007/diff/1/LayoutTests/webaudio/stereopannernode-basic.html File LayoutTests/webaudio/stereopannernode-basic.html (right): https://codereview.chromium.org/691143007/diff/1/LayoutTests/webaudio/stereopannernode-basic.html#newcode20 LayoutTests/webaudio/stereopannernode-basic.html:20: } On 2014/11/12 00:06:53, hoch wrote: > On 2014/11/11 ...
6 years, 1 month ago (2014-11-12 00:16:45 UTC) #4
hongchan
6 years, 1 month ago (2014-11-12 00:43:54 UTC) #6
Raymond Toy
lgtm with nits. +haraken: Could you take a look at the oilpan stuff in StereoPannerNode.*? ...
6 years, 1 month ago (2014-11-12 18:06:52 UTC) #8
hongchan
https://codereview.chromium.org/691143007/diff/40001/LayoutTests/webaudio/stereopannernode-basic.html File LayoutTests/webaudio/stereopannernode-basic.html (right): https://codereview.chromium.org/691143007/diff/40001/LayoutTests/webaudio/stereopannernode-basic.html#newcode34 LayoutTests/webaudio/stereopannernode-basic.html:34: shouldThrow('panner.channelCountMode = "max"'); On 2014/11/12 18:06:52, Raymond Toy wrote: ...
6 years, 1 month ago (2014-11-12 22:01:43 UTC) #9
Raymond Toy
lgtm. I'd like haraken to take a quick look at the two files for oilpan ...
6 years, 1 month ago (2014-11-12 22:11:06 UTC) #10
hongchan
On 2014/11/12 22:11:06, Raymond Toy wrote: > lgtm. > > I'd like haraken to take ...
6 years, 1 month ago (2014-11-12 22:30:14 UTC) #11
haraken
LGTM API owner reivew is needed for the IDL change. https://codereview.chromium.org/691143007/diff/60001/Source/platform/audio/Spatializer.cpp File Source/platform/audio/Spatializer.cpp (right): https://codereview.chromium.org/691143007/diff/60001/Source/platform/audio/Spatializer.cpp#newcode24 ...
6 years, 1 month ago (2014-11-13 02:08:27 UTC) #12
Raymond Toy
tkent: Can you review the idl changes, as an API owner?
6 years, 1 month ago (2014-11-13 17:02:39 UTC) #14
hongchan
Thanks. Awaiting IDL owner's review. https://codereview.chromium.org/691143007/diff/60001/Source/platform/audio/Spatializer.cpp File Source/platform/audio/Spatializer.cpp (right): https://codereview.chromium.org/691143007/diff/60001/Source/platform/audio/Spatializer.cpp#newcode24 Source/platform/audio/Spatializer.cpp:24: // TODO: add the ...
6 years, 1 month ago (2014-11-13 18:38:20 UTC) #15
tkent
I think this feature is NOT trivial. Please send "Intent to implement and ship" to ...
6 years, 1 month ago (2014-11-14 01:17:43 UTC) #16
tkent
https://codereview.chromium.org/691143007/diff/80001/Source/platform/audio/Spatializer.h File Source/platform/audio/Spatializer.h (right): https://codereview.chromium.org/691143007/diff/80001/Source/platform/audio/Spatializer.h#newcode19 Source/platform/audio/Spatializer.h:19: PanningModelEqualPower = 0 enum with only one item looks ...
6 years, 1 month ago (2014-11-14 01:20:03 UTC) #17
hongchan
Intent to Implement and Ship was sent to blink-dev.
6 years, 1 month ago (2014-11-14 22:51:15 UTC) #20
hongchan
Sorry for the spam. I marked 'done' on the comment from tkent. https://codereview.chromium.org/691143007/diff/80001/Source/platform/audio/Spatializer.h File Source/platform/audio/Spatializer.h ...
6 years, 1 month ago (2014-11-14 22:54:57 UTC) #21
tkent
lgtm
6 years, 1 month ago (2014-11-19 00:36:28 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/691143007/140001
6 years, 1 month ago (2014-11-19 00:37:50 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_chromium_gn_rel/builds/17160) mac_blink_compile_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/26110)
6 years, 1 month ago (2014-11-19 00:46:51 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/691143007/160001
6 years, 1 month ago (2014-11-19 21:53:20 UTC) #28
commit-bot: I haz the power
6 years, 1 month ago (2014-11-19 23:38:57 UTC) #29
Message was sent while issue was closed.
Committed patchset #6 (id:160001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=185632

Powered by Google App Engine
This is Rietveld 408576698