EqualizerSettings

data class EqualizerSettings(val gainsDb: List<Float> = List(10) { 0f }, val preampDb: Float = 0.0f)

A ten-band graphic equaliser, in dB per band.

The bands are the ISO octave centres from 31 Hz to 16 kHz, the ten every hardware equaliser has had since the 1970s, so a preset written for one of those means the same thing here.

All zero is bypass, and bypass is bit-exact: the filters are skipped entirely rather than run with coefficients that happen to be the identity.

Constructors

Link copied to clipboard
constructor(gainsDb: List<Float> = List(10) { 0f }, preampDb: Float = 0.0f)

Types

Link copied to clipboard
object Companion

The band layout, and the setting that changes nothing.

Properties

Link copied to clipboard

One gain per band, in the order of Bands.

Link copied to clipboard

True when this changes nothing, in which case the engine skips the filters entirely.

Link copied to clipboard

Applied before the bands, in dB.