carta1 1.1.5 → 1.1.6

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.
Files changed (2) hide show
  1. package/bin/cli.js +2 -2
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -405,8 +405,8 @@ async function encodeFile(inputFile, outputFile, options) {
405
405
 
406
406
  // Create encoder options with spectrum focus if provided
407
407
  const encoderOptions = new EncoderOptions()
408
- if (options.allocationBias !== undefined) {
409
- encoderOptions.setValue('allocationBias', options.allocationBias)
408
+ if (options.bias !== undefined) {
409
+ encoderOptions.setValue('allocationBias', options.bias)
410
410
  }
411
411
 
412
412
  const encodedFrames = AudioProcessor.encodeStream(reader, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carta1",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "An ATRAC1 audio codec implementation in JS",
5
5
  "type": "module",
6
6
  "main": "codec/index.js",