Skip to main content

Interface: EqualizerSettings

Defined in: packages/player/src/equalizer-storage.ts:85

Everything about an equaliser worth surviving a process death: whether it is on, the curve it is set to, and the curves the user saved.

Note what is not here — the built-in presets. They ship with the library and are re-read from it on every launch, so an upgrade that retunes Rock takes effect rather than being pinned forever by an old record.

Properties

enabled

readonly enabled: boolean;

Defined in: packages/player/src/equalizer-storage.ts:87

Whether the EQ half of the filter chain is applied at all.


gainsDb

readonly gainsDb: readonly number[];

Defined in: packages/player/src/equalizer-storage.ts:92

Exactly EQUALIZER_BAND_COUNT gains in dB, low band first — the live curve, whether it came from a preset or from the user's sliders.


presets

readonly presets: readonly EqualizerPreset[];

Defined in: packages/player/src/equalizer-storage.ts:94

The curves the user saved with Equalizer.savePreset, in save order.