Alex Zhukov's Pure JavaScript MP3 Encoder - updated build
npm install beacon-lamejsbash
$ bower install lamejs --save
`
`bash
$ npm install lamejs
`
Quick Start
`javascript
`
To use lamejs in Node.js build, you can install it from npm:
`
npm install lamejs
`
Then use it:
`
var lamejs = require("lamejs");
`
Real Example
Either see example.html for full example of wav file encoding in browser or use this:
`javascript
`
Stereo
If you want to encode stereo mp3 use separate sample buffers for left and right channel
`javascript
``