New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 601009 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug

Blocked on:
issue 590000



Sign in to add a comment

Web Audio listener setOrientation causes audio crackling

Reported by jo...@unity3d.com, Apr 6 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36

Example URL:
http://files.unity3d.com/jonas/ListenerDemo/

Steps to reproduce the problem:
1.  Go to http://files.unity3d.com/jonas/ListenerDemo/
2. Wait for the demo to load and play music
3. Move the mouse around to move the camera

What is the expected behavior?
Audio continues to play smoothly

What went wrong?
Audio crackles when moving the camera

Did this work before? N/A 

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? Yes 

Chrome version: 49.0.2623.110  Channel: stable
OS Version: OS X 10.11.0
Flash Version: Shockwave Flash 21.0 r0

Moving the camera using the mouse results in WebAudio calling setOrientation on the listener to match the new Camera orientation. Commenting out the call to AudioListener.setOrientation makes the problem go away. Works as expected on Firefox and Safari.
 

Comment 1 by kbr@chromium.org, Apr 6 2016

Cc: hongchan@chromium.org
Components: -Internals>Media Blink>WebAudio
Owner: rtoy@chromium.org
Status: Assigned (was: Unconfirmed)
Raymond or Hongchan, could you please triage this?

Comment 2 by kbr@chromium.org, Apr 6 2016

Cc: kbr@chromium.org

Comment 3 by rtoy@chromium.org, Apr 8 2016

I think it's caused by the dezippering in the panner node.  I think it's easily fixable but dezippering is officially removed from the spec.

Comment 4 by rtoy@chromium.org, Apr 15 2016

I can confirm that is dezippering.  The spec has officially removed dezippering and we will fix this issue soon with the updated PannerNode that supports automations.  I ran the test URL with a local build with this new panner and it sounds just fine.

Comment 5 by rtoy@chromium.org, Apr 29 2016

Blockedon: 590000
SpatialPanner (aka Panner with automations) should fix this because the dezippering is removed.

Comment 6 by rtoy@chromium.org, May 18 2016

I reran the test using chrome canary on mac. The crackling is gone.

It would be great if you could also verify that this issue is fixed. (Chrome Canary is needed.)

Comment 7 by rtoy@chromium.org, May 26 2016

Labels: Needs-Feedback

Comment 8 by ste...@unity3d.com, Jul 12 2016

Checked this with current Canary 54 on OSX and Windows and it is fixed in both.

Comment 9 by rtoy@chromium.org, Jul 12 2016

Status: Fixed (was: Assigned)
Thanks for testing!

Sign in to add a comment