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.

Failed to execute 'linearRampToValueAtTime' on 'AudioParam'

See original GitHub issue

What in the world causes this error on the .animate() method ? 😦

  "three": {
      "version": "0.120.1",
      "resolved": "https://registry.npmjs.org/three/-/three-0.120.1.tgz",
      "integrity": "sha512-ktaCRFUR7JUZcKec+cBRz+oBex5pOVaJhrtxvFF2T7on53o9UkEux+/Nh1g/4zeb4t/pbxIFcADbn/ACu3LC1g=="
    },
Failed to execute 'linearRampToValueAtTime' on 'AudioParam': The provided float value is non-finite.
    at AudioListener.updateMatrixWorld (three.module.js?5a89:42648)
    at Object3D.updateMatrixWorld (three.module.js?5a89:6982)
    at Scene.updateMatrixWorld (three.module.js?5a89:6982)
    at WebGLRenderer.render (three.module.js?5a89:25548)
    at VueComponent.animate (GameCanvas.vue?9d0d:614)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
cjbaileycommented, Jul 6, 2022

image

So, apparently, the hardware volume buttons on a Surface Book 2 trigger the “mousemove” event?!?!
It’s inside this event that I’m setting pitch and yaw based on the mouse movement… which of course is non-existent since it wasn’t the mouse that triggered the event. The pitch and yaw is later used in a Matrix4.compose which explains where the NaN comes from.

Crazy!

1reaction
mrdoobcommented, Jul 7, 2022

So, apparently, the hardware volume buttons on a Surface Book 2 trigger the “mousemove” event?!?!

😂

Read more comments on GitHub >

github_iconTop Results From Across the Web

Javascript Web Audio API error: Failed to set the 'value ...
Uncaught TypeError: Failed to set the 'value' property on 'AudioParam': The provided float value is non-finite. The line where the error occurs is...
Read more >
[solved] AudioParam error with AudioListener - three.js forum
Javascript Web Audio API error: Failed to set the 'value' property on 'AudioParam': The provided float value is non-finite.
Read more >
AudioParam.linearRampToValueAtTime() - Web APIs | MDN
The linearRampToValueAtTime() method of the AudioParam Interface schedules a gradual linear change in the value of the AudioParam.
Read more >
audioparam-exceptional-values-expected.txt - Google Git
linearRampToValueAtTime(Infinity, 1) threw exception TypeError: Failed to execute 'linearRampToValueAtTime' on 'AudioParam': The provided float value is ...
Read more >
Web Audio API - W3C
7.1 Latency; 7.2 Audio Buffer Copying; 7.3 AudioParam Transitions ... In case of failure, queue a media element task to execute the ...
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