New issue
Advanced search Search tips

Issue 729523 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

3D sound not played on left channel

Project Member Reported by mar...@unity3d.com, Jun 5 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

Example URL:
http://jsfiddle.net/weL1vffy/5/

Steps to reproduce the problem:
1. open url
2. Press Play Tone button

What is the expected behavior?
sound will play on both left and right channel

What went wrong?
sound will only play on right channel

Did this work before? N/A 

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? N/A

Chrome version: 58.0.3029.110  Channel: stable
OS Version: 10.0
Flash Version: 

Contents of chrome://gpu:
 

Comment 1 by mar...@unity3d.com, Jun 5 2017

reproduce in Firefox to check expected behaviour
Components: -Internals>Media Blink>WebAudio

Comment 3 by rtoy@chromium.org, Jun 5 2017

I think Chrome implements what the spec says:  https://webaudio.github.io/web-audio-api/#Spatialzation-equal-power-panning

But see also the spec issue: https://github.com/WebAudio/web-audio-api/issues/324

I assume you think Firefox is correct because when the slider is at 0, you hear audio on both the left and right channels.  In chrome I only hear the right channel.

Comment 4 by mar...@unity3d.com, Jun 6 2017

> I assume you think Firefox is correct because when the slider is at 0, you hear audio on both the left and right channels.  In chrome I only hear the right channel.
Yes, that was my assumption.

Comment 5 by rtoy@chromium.org, Jun 14 2017

Status: Available (was: Unconfirmed)

Comment 6 by rtoy@chromium.org, Jun 28 2017

Owner: rtoy@chromium.org
Status: Started (was: Available)
Project Member

Comment 7 by bugdroid1@chromium.org, Jul 14 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ce375b903c2d152d662527b8d5d45e97ce59096f

commit ce375b903c2d152d662527b8d5d45e97ce59096f
Author: Raymond Toy <rtoy@chromium.org>
Date: Fri Jul 14 03:06:54 2017

Set correct azimuth/elevation when source = listener

When the source and the listener are at the same position, set the
azimuth and elevation to zero in accordance with the panning algorithm
in the spec.

Add tests for this as well.

Bug:  729523 
Test: Panner/panner-equalpower.html
Change-Id: I5787c95175fabedf0e5f4e484f315c9e10507568
Reviewed-on: https://chromium-review.googlesource.com/552821
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Reviewed-by: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#486658}
[modify] https://crrev.com/ce375b903c2d152d662527b8d5d45e97ce59096f/third_party/WebKit/LayoutTests/webaudio/Panner/panner-equalpower.html
[modify] https://crrev.com/ce375b903c2d152d662527b8d5d45e97ce59096f/third_party/WebKit/Source/modules/webaudio/PannerNode.cpp

Comment 8 by rtoy@chromium.org, Jul 14 2017

Status: Fixed (was: Started)
Tested canary build with the test URL. I now hear sound on both the left and right when the panner position is 0.

Closing as fixed.

Sign in to add a comment