Git Product home page Git Product logo

Comments (7)

ianpetrarca avatar ianpetrarca commented on August 19, 2024

@drewbitllama @mgorzel Any chance you guys were able to take a look at this?

from resonance-audio-web-sdk.

ianpetrarca avatar ianpetrarca commented on August 19, 2024

@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.

mgorzel avatar mgorzel commented on August 19, 2024

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.

ianpetrarca avatar ianpetrarca commented on August 19, 2024

@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.

hoch avatar hoch commented on August 19, 2024

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.

ianpetrarca avatar ianpetrarca commented on August 19, 2024

@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.

hoch avatar hoch commented on August 19, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.