Comments (2)
This would be great to be fixed, as performance comparisons between the systems don't seem to exist anywhere else on the web.
from resonance-audio-web-sdk.
When running the CPU benchmark utility (https://cdn.rawgit.com/resonance-audio/resonance-audio-web-sdk/master/examples/benchmark.html) it hangs.
Steps to Reproduce:
- Open https://cdn.rawgit.com/resonance-audio/resonance-audio-web-sdk/master/examples/benchmark.html
- Click Begin
- Says 'Please Wait' for hours.
- Happens in Chrome on OSX but I believe it's platform agnostic.
Underlying issue:
Looking in the Browser Console (F12) I see the following error:
benchmark.js:119 Uncaught TypeError: audioContext.createMediaElementSource is not a function at startBenchmark (benchmark.js:119)
which points to this code:
let audioContext = new OfflineAudioContext(numberOutputChannels, durationSeconds * sampleRate, sampleRate); let audioElementSource = audioContext.createMediaElementSource(audioElement);
It seems OfflineAudioContext no longer has the createMediaElementSource function (see WebAudio/web-audio-api#308 and https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext). Looks like OfflineAudioContext now inherits from BaseAudioContext which does not have the necessary function.
Do you know if this could then be replaced with createBufferSource()?
from resonance-audio-web-sdk.
Related Issues (20)
- Directivity patterns, occlusion and reflections
- setRoomProperties throws an error HOT 11
- 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
- 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.