Web Assembly streaming MPEG Layer I/II/III decoder
npm install mpg123-decodermpg123-decodermpg123-decoder is a Web Assembly MPEG Layer (I/II/III) audio decoder.
* 77.1 KiB minified bundle size
* Browser and NodeJS support
* Built in Web Worker support
* Based on mpg123
See the homepage of this repository for more Web Assembly audio decoders like this one.
npm i mpg123-decoder ``javascript
import { MPEGDecoder } from 'mpg123-decoder';
const decoder = new MPEGDecoder();
``
* 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