Web Assembly streaming FLAC decoder
npm install @wasm-audio-decoders/flac@wasm-audio-decoders/flac@wasm-audio-decoders/flac is a Web Assembly FLAC / Ogg FLAC audio decoder.
* 67.2 KiB minified bundle size
* Browser and NodeJS support
* Built in Web Worker support
* Multichannel decoding (up to 8 channels)
* Supports full FLAC bit depth and sample rate.
* Based on libFLAC and codec-parser
See the homepage of this repository for more Web Assembly audio decoders like this one.
Run npm i @wasm-audio-decoders/flac
``javascript
import { FLACDecoder } from '@wasm-audio-decoders/flac';
const decoder = new FLACDecoder();
``
* Or download the build and include it as a script.
html`
* Note that the script must be read using UTF-8 character encoding. If running in a browser, the