question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AudioListener browser bug ?!

See original GitHub issue

#Three.js version

  • r109

Browser

  • Chrome

OS

  • Windows

the problems are pretty similar: #https://github.com/mrdoob/three.js/issues/15344 #https://github.com/mrdoob/three.js/issues/15422

if you create a AudioListener, add to the scene, but no sound is created, then after some time the FPS will begin to fall. The reason seems to be in the browser implementation, as the load is on the “linearRampToValueAtTime” method. If you remove the listener from the scene, then the FPS is normalized, or if you add sound and play it, the problem will also be solved. I do not know how best to solve this problem, I just report on its presence. perfomance linearRampToValueAtTime Minimum part sample:

var listener = new THREE.AudioListener(); 
camera.add( listener ); 

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:20 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
hochcommented, Jul 16, 2020

No worries. You added Blink>WebAudio component correctly! Thank you for filing the issue and we will investigate.

3reactions
hochcommented, Jul 16, 2020

This sounds like a bug, or something we can improve in Chrome. Could anyone file an issue on crbug.com (with Bad link above) and cc me (hongchan@chromium)?

Read more comments on GitHub >

github_iconTop Results From Across the Web

WebGL runtime error audio listener - Unity Forum
Hi, When attempting to run a level of my game, I get this error with the stack trace below: exception thrown: TypeError: Argument...
Read more >
Web Audio listener setOrientation causes audio crackling
Commenting out the call to AudioListener.setOrientation makes the problem go away. Works as expected on Firefox and Safari.
Read more >
AudioListener linearRampToValueAtTime execution grows ...
Has anyone here noticed an issue with AudioListener eventually dominating the performance graph after ... AudioListener browser bug ?!
Read more >
Audio Listener - Unity - Manual
The Audio Listener acts as a microphone-like device. ... If an audio listener is within the boundaries of a Reverb Zone reverberation is...
Read more >
Web Audio API - W3C
An AudioListener interface, which works with a PannerNode for ... Reject promise with error , and remove it from [[pending promises]] .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found