Pure JavaScript MP3 Encoder(this a tmp lib to fix bug 'MPEGMode is not defined')
npm install lamejsfixthis lib is temporary to fix bug "MPEGMode is not defined".
it's forked by 'https://github.com/isolin/lamejs'
To 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``