Pure JavaScript MP3 Encoder
npm install @jambonz/lamejsTo install via Bower or npm, simply do the following:
``bash`
$ bower install lamejs --save
`bash`
$ npm install lamejs
`javascript`
To use lamejs in Node.js build, you can install it from npm:
``
npm install lamejs
Then use it:
``
var lamejs = require("lamejs");
Either see example.html for full example of wav file encoding in browser or use this:
`javascript`
If you want to encode stereo mp3 use separate sample buffers for left and right channel
`javascript``