Skip to content

Commit ac59b70

Browse files
committed
Don't update node version here
1 parent b45165e commit ac59b70

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

packages/winamp-eqf/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ npm install --save winamp-eqf
1111
## Usage
1212

1313
```typescript
14-
import { parser, creator, EqfData, CreateEqfData } from 'winamp-eqf';
14+
import { parser, creator, EqfData, CreateEqfData } from "winamp-eqf";
1515

1616
// ... Get your .eqf or .q1 file as an ArrayBuffer
1717
const eqf: EqfData = parser(eqfArrayBuffer);
1818

1919
const eqfArrayBuffer: ArrayBuffer = creator(eqf);
2020
```
2121

22-
This package is an ES module and requires Node.js 22+ or a modern bundler that supports ES modules.
22+
This package is an ES module and requires Node.js 14+ or a modern bundler that supports ES modules.
2323

2424
## API
2525

@@ -58,8 +58,6 @@ This package is written in TypeScript and provides full type definitions.
5858

5959
`eqfObject` is an object with the same shape as that returned by `parser()`.
6060

61-
62-
6361
## Source Material
6462

6563
Starting with this spec found here: <http://www.perlmonks.org/bare/?node_id=584875>:
@@ -87,4 +85,4 @@ And then via direct message:
8785

8886
> 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.
8987
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)

0 commit comments

Comments
 (0)