Giter Club home page Giter Club logo

Comments (2)

devongovett avatar devongovett commented on July 21, 2024

decodeAudioData is a bit different than aurora in that it expects to be given an entire audio buffer all at once, and returns it to you all at once. Aurora is streaming, meaning it decodes in chunks as it receives data and returns decoded data back to you in chunks. So with Aurora you start receiving decoded data faster, as it is going whereas with web audio you have to wait until it is all loaded and decoded. Personally, I wouldn't bother with web audio's function, but for short audio samples in a format supported cross browser (hard to find) it might be ok.

from aurora.js.

fabslab avatar fabslab commented on July 21, 2024

Yeah I was wondering whether that might be the case, I've only ever used it as you described but from the info on this page http://docs.webplatform.org/wiki/apis/webaudio/AudioContext/decodeAudioData I was hoping it could take any ArrayBuffer as it seems to imply there.

from aurora.js.

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.