lamejs source accompanying PPUTROLL's separately loaded MP3 encoder

Upstream: https://github.com/zhuker/lamejs
Upstream tag: 1.2.1
Immutable commit: 32f6198fc9d7dc69894977152a08442607738c40
Source URL: https://codeload.github.com/zhuker/lamejs/zip/32f6198fc9d7dc69894977152a08442607738c40
Downloaded upstream archive SHA-256: 3c89feb0765345b7909831e3d2f92cdc44b22ffaef562f470b0d3a17cf8b8073

This package retains the upstream source bytes, notices, preferred JavaScript
source in src/js/, readable browser bundle lame.all.js, exact distributed
lame.min.js, upstream Java source, and build scripts. No encoder code has been
modified by PPUTROLL. The upstream package.json at this tag says 1.2.0;
the tag and exact distributed artifact identify this release as 1.2.1.

The upstream test audio, demonstration pages, worker examples and PNG images
are omitted. They are not needed to build or modify the browser MP3 encoder.
No user or commercial reference recording is included. The Java reference GUI
is not shipped by PPUTROLL; its optional image resource is omitted as well.

The source files preserve their original copyright and license notices.
The package declares LGPL-3.0; the upstream Java COPYING contains the earlier
GNU Library General Public License version 2. Both texts are retained.
The public license directory additionally supplies LGPL-3.0 and GPL-3.0.

Rebuilding / replacing the browser library:
1. Extract to a directory with 'lamejs' in its absolute path, as the upstream
   makeall.sh filters Browserify's dependency list using that string.
2. Read makeall.sh and minify.sh. Upstream uses a POSIX shell, Browserify,
   grep, sed, xargs, Java and Google Closure Compiler at ~/java/compiler.jar.
   These general-purpose build tools are not bundled. The source tag does not
   pin their versions, so byte-identical minification is not promised.
3. Run the upstream makeall.sh with those tools available, or edit the complete
   readable lame.all.js directly and use it as your replacement. It already
   exports the same lamejs.Mp3Encoder / lamejs.WavHeader browser interfaces.
4. In a local copy of PPUTROLL, replace public/vendor/lame.min.js with your
   compatible browser build (the file may contain unminified JavaScript).
   Serve public/ using an HTTP static server, reload, and export a synthetic
   test signal. Browser Local Overrides can also replace this one response.
   PPUTROLL does not apply a runtime hash/signature check to this library.
   Its repository integrity check is a release-maintenance check, not a
   requirement for executing an interface-compatible modified library.

PPUTROLL permits modification of the covered library and reverse engineering
of its application for debugging those modifications, and permits making a
local application copy as needed for that purpose. This limited permission
does not assign an open-source license to unrelated PPUTROLL application code.

Archive selection (excluded upstream paths):
doc/1000px-Mp3filestructure.svg.png
example.html
src/main/resources/picture.png
testdata/Left.wav
testdata/Left44100.wav
testdata/Right.wav
testdata/Right44100.wav
testdata/Stereo44100.wav
worker-example/index.html
worker-example/index.js
worker-example/mic.html
worker-example/mic.js
worker-example/worker-realtime.js
worker-example/worker.js
