Comments (7)
@drewbitllama @mgorzel Any chance you guys were able to take a look at this?
from resonance-audio-web-sdk.
@drewbitllama @mgorzel I finally figured this out. If you use a stereo audio file, Firefox does not apply reverb to the source. In order for reverb to be applied to a source in a Resonance Scene in Firefox, the file must be mono. In chrome that does't matter and both mono and stereo files work. We can close this.
from resonance-audio-web-sdk.
Thanks so much @ianpetrarca for investigating that issue and suggesting a workaround! Mono samples should be generally preferred for spatialization as Resonance Audio does not support independent or linked panning of L/R stereo channels yet. I've added a note on that in the documentation. However, I think it would still be useful to investigate what causes the reverb problem in Firefox, so I will reopen this issue.
from resonance-audio-web-sdk.
@mgorzel No problem, happy to help. Mono files ultimately make the most sense for a spatialization framework like Resonance. I think that creating a standard for how Resonance handles different file types (mono,stereo, 4-channel Ambix) would be the most helpful. That way developers can expect one result on all platforms.
Just to clarify, a stereo audio file in stereo still spatializes left/right, and has volume attenuation, it's just the reverb that isn't working.
from resonance-audio-web-sdk.
If you use a stereo audio file, Firefox does not apply reverb to the source.
@ianpetrarca This seems like a bug on FireFox side. No?
from resonance-audio-web-sdk.
@hoch It's hard to say, I'm not familiar with other websites using Channel Merger and having issues on FF. I'm guessing that's where the issue is occurring? However, stereo files working on Safari/Chrome is a good indicator that it could be something in FF. Stereo files in Resonance Web are a bit trivial since it's made for mono-sound objects. or 4-channel AmbiX. I haven't pursued this further.
from resonance-audio-web-sdk.
@ianpetrarca Thanks for clarification. Could you provide a simple/reduced repro case for this issue? Looking at the linked code above might take a while.
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
- 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.