Web Assembly streaming Ogg Vorbis decoder
npm install @wasm-audio-decoders/ogg-vorbis@wasm-audio-decoders/ogg-vorbis@wasm-audio-decoders/ogg-vorbis is a Web Assembly Ogg Vorbis audio decoder.
* 99.3 KiB minified bundle size
* Browser and NodeJS support
* Built in Web Worker support
* Multichannel decoding (up to 255 channels)
* Supports full Vorbis sample rate.
* Based on libvorbis and codec-parser
See the homepage of this repository for more Web Assembly audio decoders like this one.
Run npm i @wasm-audio-decoders/ogg-vorbis
``javascript
import { OggVorbisDecoder } from '@wasm-audio-decoders/ogg-vorbis';
const decoder = new OggVorbisDecoder();
``
* 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