Web Audio listener setOrientation causes audio crackling
Reported by
jo...@unity3d.com,
Apr 6 2016
|
|||||
Issue descriptionUserAgent: 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.
,
Apr 6 2016
,
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.
,
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.
,
Apr 29 2016
SpatialPanner (aka Panner with automations) should fix this because the dezippering is removed.
,
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.)
,
May 26 2016
,
Jul 12 2016
Checked this with current Canary 54 on OSX and Windows and it is fixed in both.
,
Jul 12 2016
Thanks for testing! |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by kbr@chromium.org
, Apr 6 2016Components: -Internals>Media Blink>WebAudio
Owner: rtoy@chromium.org
Status: Assigned (was: Unconfirmed)