winamp-eqf 0.0.0-next-c2c0675 → 0.0.0-next-8425ada

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/README.md +2 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -11,7 +11,7 @@ npm install --save winamp-eqf
11
11
  ## Usage
12
12
 
13
13
  ```typescript
14
- import { parser, creator, EqfData, CreateEqfData } from 'winamp-eqf';
14
+ import { parser, creator, EqfData, CreateEqfData } from "winamp-eqf";
15
15
 
16
16
  // ... Get your .eqf or .q1 file as an ArrayBuffer
17
17
  const eqf: EqfData = parser(eqfArrayBuffer);
@@ -58,8 +58,6 @@ This package is written in TypeScript and provides full type definitions.
58
58
 
59
59
  `eqfObject` is an object with the same shape as that returned by `parser()`.
60
60
 
61
-
62
-
63
61
  ## Source Material
64
62
 
65
63
  Starting with this spec found here: <http://www.perlmonks.org/bare/?node_id=584875>:
@@ -87,4 +85,4 @@ And then via direct message:
87
85
 
88
86
  > Will do it here as I can type a bit more, but the only obvious thing wrong with the link is the signature assumption as it's not guaranteed to be 'entry1' As you can have multiple eq blocks in a file.
89
87
 
90
- > If you've looked at winamp.q1 you should see multiple presets in that file which follow one after each other so the file signature (winamp.q1 or a specific *.eqf file) is "Winamp EQ library file v1.1\x1A!--" (pulled that out from the disassembler) it's then a 257 byte buffer (256 + null character to terminate correctly) then the 10 byte block relating to the eq sliders (need to double-check the range base) followed by the 1 byte for the preamp slider then if there's more presets in the file, they follow on immediately after with the name block looking at the preamp slider, -12dB = 0x3F, 0dB = 0x1F, 12dB = 0 (so a 0-63 range) that seems to be the same for the other sliders (and matches 1:1 with the sdk details) and I think that's it :) in the winamp.q1 file, the 'default' entry is either a flat preset or what's been saved after customisation (in-case you're wanting to mirror the native behaviour via the preset -> save -> default action)
88
+ > If you've looked at winamp.q1 you should see multiple presets in that file which follow one after each other so the file signature (winamp.q1 or a specific \*.eqf file) is "Winamp EQ library file v1.1\x1A!--" (pulled that out from the disassembler) it's then a 257 byte buffer (256 + null character to terminate correctly) then the 10 byte block relating to the eq sliders (need to double-check the range base) followed by the 1 byte for the preamp slider then if there's more presets in the file, they follow on immediately after with the name block looking at the preamp slider, -12dB = 0x3F, 0dB = 0x1F, 12dB = 0 (so a 0-63 range) that seems to be the same for the other sliders (and matches 1:1 with the sdk details) and I think that's it :) in the winamp.q1 file, the 'default' entry is either a flat preset or what's been saved after customisation (in-case you're wanting to mirror the native behaviour via the preset -> save -> default action)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "winamp-eqf",
3
- "version": "0.0.0-next-c2c0675",
3
+ "version": "0.0.0-next-8425ada",
4
4
  "description": "Parse and create Winamp .EQF files which describe equalizer settings",
5
5
  "type": "module",
6
6
  "main": "built/index.js",
@@ -40,7 +40,7 @@
40
40
  "author": "Jordan Eldredge",
41
41
  "license": "ISC",
42
42
  "engines": {
43
- "node": ">=14.0.0"
43
+ "node": ">=22.0.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@swc/jest": "^0.2.24",