Coder Social home page Coder Social logo

Comments (5)

drewbitllama avatar drewbitllama commented on May 14, 2024

that can work. i think we should re-visit the original implementation once >8 channel count files are allowed.

from omnitone.

hoch avatar hoch commented on May 14, 2024

I think this issue is orthogonal to the multichannel audio file issue. If we stick to the stereo files, it actually ensures the cross-browser support because all the browsers (including mobile ones) can decode it.

Can we have the original multichannel HRIR files (FOA, SOA, HOA) in our src/resources? Then I can write a script that generates a set of stereo files from the source.

from omnitone.

drewbitllama avatar drewbitllama commented on May 14, 2024

from omnitone.

hoch avatar hoch commented on May 14, 2024

First of all, what's happening in Chrome M62 when you load up 112 audio files via XHR:

screen shot 2017-08-22 at 12 26 47 pm

Chrome fires up 12 background threads to multiple decode files concurrently. So this means loading multiple stereo files instead of a big chunk of multichannel HRIR files would be better. With that said, there will be a very little improvement because the size of HRIR files is almost negligible.

The next example loads up ~1500 audio files. Chrome's still using 12 threads to decode. Just for fun.

screen shot 2017-08-22 at 12 44 03 pm

Secondly, this is what I would do in V1:

  1. Use SOX to split up the original HRIR files into multiple stereo files.
  2. Include SOX script in the repo for the CI testing.
  3. Change the hoa-convolver code to use a set of stereo HRIR files without splitting/cloning buffers.

from omnitone.

hoch avatar hoch commented on May 14, 2024

Closed with df28933.

from omnitone.

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.