Comments (11)
@brianchirls is correct.
This is because of the recent change in Chrome's Convolver node. We (AudioWG) reverted the spec decision due to the reasonable amount of breakage. Here's the revert CL for Chrome:
https://chromium-review.googlesource.com/c/chromium/src/+/1249275
The revert patch was landed at 71.0.3569.0, so perhaps @drewbitllama needs to make a temporary fix that recreates a convolver node whenever a buffer changes. When 71 hits the stable, we can remove the temporary fix.
from resonance-audio-web-sdk.
This line:
Can be replaced with the following:
this._predelay.disconnect();
this._convolver.disconnect();
this._convolver = this._context.createConvolver();
this._convolver.buffer = buffer;
this._predelay.connect(this._convolver);
this._convolver.connect(this.output);
FYI I have not tested the code locally. (traveling atm)
from resonance-audio-web-sdk.
This doesn't seem to be an issue until Chrome 69, which is currently in Beta, so you might not see it in the current stable version. The next upgrade is scheduled for early next week, so it will go mainstream in a few days.
from resonance-audio-web-sdk.
looks like i hit this problem with latest stable chrome Version 69.0.3497.81 (Offizieller Build) (64-Bit)
core:a-node:error Failure loading node: DOMException: Failed to set the 'buffer' property on 'ConvolverNode': Cannot set buffer to non-null after it has been already been set to a non-null buffer at LateReflections.setDurations (webpack:///./node_modules/resonance-audio/build/resonance-audio.js?:3382:26) at Room.setProperties (webpack:///./node_modules/resonance-audio/build/resonance-audio.js?:3110:13) at ResonanceAudio.setRoomProperties (webpack:///./node_modules/resonance-audio/build/resonance-audio.js?:3898:14) at NewComponent.setUpRoom (webpack:///./src/components/aframe-resonance.js?:131:33) at NewComponent.updateProps (webpack:///./src/components/aframe-resonance.js?:107:10) at NewComponent.init (webpack:///./src/components/aframe-resonance.js?:37:10) at NewComponent.updateProperties (webpack:///./node_modules/aframe/dist/aframe-master.js?:75069:12) at HTMLElement.value (webpack:///./node_modules/aframe/dist/aframe-master.js?:73830:19) at HTMLElement.value (webpack:///./node_modules/aframe/dist/aframe-master.js?:73804:14) at entityLoadCallback (webpack:///./node_modules/aframe/dist/aframe-master.js?:73600:14) aframe-master.js:3068 core:schema:warn Unknown property `map` for component/system `material`.
this breaks my app with the new chrome update
from resonance-audio-web-sdk.
here is a online sample https://etiennepinchon.github.io/aframe-resonance/
from resonance-audio-web-sdk.
@arpu I can confirm that I get the same error on my machine (OSX, same Chrome build version) with your link. This version came out of beta and went stable a few days ago, so a plurality if not a majority of Chrome users should be running this version pretty soon.
As a workaround until this gets fixed, I think you may need to recreate your resonance instance whenever the room dimensions change. You can pass the parameters to the constructor.
from resonance-audio-web-sdk.
@drewbitllama @mgorzel It would be great to get some clarity on this issue. The official Resonance Examples page is completely broken along with about every other website that uses Resonance when viewed on the latest Chrome. Resonance now works better on Firefox which is a bit ironic.
Link to broken examples page:
https://cdn.rawgit.com/resonance-audio/resonance-audio-web-sdk/master/examples/hello-world.html
from resonance-audio-web-sdk.
@hoch do you know a workaround for chrome < 71.0.3569.0 ?
from resonance-audio-web-sdk.
@hoch thx a lot works!
from resonance-audio-web-sdk.
@hoch I tested that code on Mac 10.12.16 Chrome Version 70.0.3538.67 and it fixed the Convolver error but it is now no longer outputting late-reflections for me. I am testing on this repo . I simply swapped your fix into the late reflections src.
from resonance-audio-web-sdk.
Seems like you have a typo there. You can't connect a node to a buffer.
from resonance-audio-web-sdk.
Related Issues (20)
- Directivity patterns, occlusion and reflections
- require Omnitone without relative paths HOT 1
- PannerNode vs TresureHunt
- Severe bug in ResonanceAudio.setRoomProperties() HOT 1
- Not working on Chrome HOT 5
- Typescript definitions
- Spatial audio doesn't work in iOS12.01 safari HOT 4
- Reverb is always mono on any browser HOT 4
- module loading HOT 7
- Confirming exactly what the "ambisonicOutput" is HOT 6
- Web SDK Documentation title indicates Unity
- How to download ambisonics file HOT 4
- Smooth transition when using sliders to set params HOT 3
- L R reverse HOT 3
- ssoruce spread not working on the web version
- Only Left speaker HOT 1
- CPU benchmark utility hangs HOT 2
- audioContext.createMediaStreamSource instead of audioContext.createMediaElementSource? HOT 1
- Audio stuttering/popping with Three.js and First Person camera
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resonance-audio-web-sdk.