Giter Club home page Giter Club logo

alac.js's Introduction

alac.js: An Apple Lossless decoder in the browser

The Apple Lossless Audio Codec (ALAC) is an audio codec developed by Apple and included in the original iPod. ALAC is a data compression method which reduces the size of audio files with no loss of information. A decoded ALAC stream is bit-for-bit identical to the original uncompressed audio file.

The original encoder and decoder were open sourced by Apple, and this is a port of the decoder to CoffeeScript so that ALAC files can be played in the browser.

Demo

You can check out a demo alongside our other decoders flac.js, MP3.js, and AAC.js. Currently, alac.js works properly in the latest versions of Firefox, Chrome, and Safari.

Authors

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

Building

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

npm install importer -g
importer alac.js -p 3030

You can also build a static version like this:

importer alac.js build.js

alac.js depends on Aurora.js, our audio codec framework. You will need to include either a prebuilt version of Aurora.js, or start another importer development server for Aurora before alac.js will work. You can use the test.html file in the Aurora.js repo as an example of how to use the APIs to play back audio files. Just include alac.js on that page as well in order to add support for ALAC files.

License

alac.js is released under the same terms as the original ALAC decoder from Apple, which is the Apache 2 license.

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.