carta1 1.5.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/bin/cli.js +447 -341
- package/codec/allocation/solve.js +19 -16
- package/codec/analysis/blocks.js +4 -1
- package/codec/analysis/spectrum.js +5 -5
- package/codec/boundary/container.js +1 -1
- package/codec/boundary/pcm.js +2 -2
- package/codec/boundary/processor.js +4 -4
- package/codec/boundary/reader.js +2 -2
- package/codec/boundary/stream.js +2 -2
- package/codec/core/geometry.js +2 -2
- package/codec/quantization/spectrum.js +4 -4
- package/codec/signal/fft.js +1 -0
- package/codec/signal/mdct.js +48 -38
- package/codec/signal/qmf.js +93 -88
- package/codec/syntax/bitstream.js +9 -9
- package/codec/syntax/frame.js +11 -2
- package/codec/synthesis/bands.js +5 -5
- package/dist/carta1-worker.min.js +1 -1
- package/dist/carta1-worker.min.js.map +1 -1
- package/dist/carta1.min.js +1 -1
- package/dist/carta1.min.js.map +1 -1
- package/dist/carta1.wme +0 -0
- package/dist/wme/index.js.map +1 -1
- package/package.json +4 -9
- package/bin/build-wme.js +0 -69
package/README.md
CHANGED
|
@@ -42,7 +42,6 @@ depends on Carta1:
|
|
|
42
42
|
```bash
|
|
43
43
|
carta1 --encode input.wav output.aea
|
|
44
44
|
carta1 --decode input.aea output.wav
|
|
45
|
-
carta1 --json input.aea structure.json
|
|
46
45
|
|
|
47
46
|
npx carta1 --encode input.wav output.aea
|
|
48
47
|
```
|
|
@@ -55,7 +54,6 @@ signed 16-bit PCM WAVE output.
|
|
|
55
54
|
| --------------------- | ---------------------------------------------------- |
|
|
56
55
|
| `-e, --encode` | Encode PCM WAVE to AEA. |
|
|
57
56
|
| `-d, --decode` | Decode AEA to PCM WAVE. |
|
|
58
|
-
| `-j, --json` | Write AEA metadata and frame structure as JSON. |
|
|
59
57
|
| `-q, --quiet` | Suppress normal output and progress. |
|
|
60
58
|
| `-f, --force` | Overwrite an existing output file. |
|
|
61
59
|
| `-t, --title <title>` | Set a UTF-8 AEA title (up to 255 encoded bytes). |
|
|
@@ -64,7 +62,7 @@ signed 16-bit PCM WAVE output.
|
|
|
64
62
|
| `-V, --version` | Print the Carta1 version. |
|
|
65
63
|
| `-h, --help` | Print command help. |
|
|
66
64
|
|
|
67
|
-
Exactly one of `--encode
|
|
65
|
+
Exactly one of `--encode` and `--decode` is required. The input and
|
|
68
66
|
output are positional paths. Existing output is preserved unless `--force` is
|
|
69
67
|
provided.
|
|
70
68
|
|
|
@@ -211,7 +209,7 @@ and their source maps. The npm package includes the same build outputs. Release
|
|
|
211
209
|
CDN links are pinned to that release's version.
|
|
212
210
|
|
|
213
211
|
**Carta1 (ATRAC1, experimental)** is an ATRAC1 codec for standard MD SP, not
|
|
214
|
-
ATRAC3 LP2/LP4 or
|
|
212
|
+
ATRAC3 LP2/LP4 or ATRAC3plus Hi-MD. Current Web MiniDisc API v1 does not support
|
|
215
213
|
software ATRAC1 output: its SP modes request PCM for the recorder to encode in
|
|
216
214
|
hardware. Installing this plugin does not enable Carta1 recording in the
|
|
217
215
|
unmodified app. All current API v1 codecs (PCM, MP3, AT3, A3+) are explicitly
|
|
@@ -249,3 +247,6 @@ included here.
|
|
|
249
247
|
`npm run test:wme` exercises the built archive and its bundled worker for both
|
|
250
248
|
proposed formats, comparing the returned raw bytes with `encodeAeaPcm` across
|
|
251
249
|
independent tracks. Lifecycle and failure tests run in the normal test suite.
|
|
250
|
+
|
|
251
|
+
The repository-only WME packager lives in `build/wme.js`. Build tooling is
|
|
252
|
+
excluded from the npm package; the generated `dist/` assets are included.
|