Giter Club home page Giter Club logo

aurora.js's Introduction

Aurora.js

Aurora.js is a framework that makes writing audio decoders in JavaScript easier. It handles common tasks for you such as dealing with binary data, and the decoding pipeline from source to demuxer to decoder, and finally to the audio hardware itself by abstracting browser audio APIs. Aurora contains two high level APIs for inspecting and playing back decoded audio, and it is easily extendible to support more sources, demuxers, decoders, and audio devices.

Check out the documentation to learn more about using and extending Aurora.

Demo

We have written several decoders using Aurora.js, whose demos you can find here and whose source code can be found on our Github page.

Authors

Aurora.js was written by @jensnockert and @devongovett of Audiocogs.

Building

Currently, the importer module is used to build Aurora.js. You can run the development server by first installing importer with npm, and then running it like this:

npm install importer -g
importer browser.coffee -p 8080

You can also build a static version like this:

importer browser.coffee aurora.js

By itself, Aurora will play LPCM, uLaw and aLaw files in a number of containers. Be sure to add additional codec support by including some of our other decoders such as FLAC.js, ALAC.js, and MP3.js.

If you want to build Aurora without the default codecs, you can use the "browser_slim.coffee" profile:

importer browser_slim.coffee aurora.js

This can help shave off approx. 30 KB from the joined file, or 20 KB when minified.

License

Aurora.js is released under the MIT license.

aurora.js's People

Contributors

devongovett avatar fabslab avatar sebpiq avatar crackofdusk avatar auroranockert avatar laurence-myers avatar

Watchers

James Cloos avatar drew harris avatar

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.