Back in a Bit

Introducing ALAC.js: An Apple Lossless Audio Decoder in JavaScript

Recently, Apple open sourced the original encoder and decoder for the Apple Lossless audio codec which is written in C/C++. ALAC is, as its name implies, a lossless codec, which means that it is compressed but does not lose any quality. When decoded, ALAC audio files are bit-for-bit identical to the original uncompressed audio file.

When our team at ofmlabs saw ALAC open sourced a few weeks back, we thought it might be fun to try to port it to JavaScript so one could listen to ALAC files in the browser. After all, some of us were also on the team that brought you JSMad, the JavaScript MP3 decoder a few months ago.