SuperequalizerEffect class final

Configuration for the superequalizer audio effect.

Apply 18 band equalizer.

The filter accepts the following options:

Parameters whose names start with a digit, addressed by their original key in the params map:

  • 10b: Set 1480Hz band gain. (range 0..20, default 1)
  • 11b: Set 2093Hz band gain. (range 0..20, default 1)
  • 12b: Set 2960Hz band gain. (range 0..20, default 1)
  • 13b: Set 4186Hz band gain. (range 0..20, default 1)
  • 14b: Set 5920Hz band gain. (range 0..20, default 1)
  • 15b: Set 8372Hz band gain. (range 0..20, default 1)
  • 16b: Set 11840Hz band gain. (range 0..20, default 1)
  • 17b: Set 16744Hz band gain. (range 0..20, default 1)
  • 18b: Set 20000Hz band gain. (range 0..20, default 1)
  • 1b: Set 65Hz band gain. (range 0..20, default 1)
  • 2b: Set 92Hz band gain. (range 0..20, default 1)
  • 3b: Set 131Hz band gain. (range 0..20, default 1)
  • 4b: Set 185Hz band gain. (range 0..20, default 1)
  • 5b: Set 262Hz band gain. (range 0..20, default 1)
  • 6b: Set 370Hz band gain. (range 0..20, default 1)
  • 7b: Set 523Hz band gain. (range 0..20, default 1)
  • 8b: Set 740Hz band gain. (range 0..20, default 1)
  • 9b: Set 1047Hz band gain. (range 0..20, default 1)
Inheritance
Available extensions

Constructors

SuperequalizerEffect({bool enabled = true, Map<String, double> params = const <String, double>{}})
Creates an SuperequalizerEffect with the given parameter values.
const

Properties

bands → List<double>

Available on SuperequalizerEffect, provided by the SuperequalizerBandsX extension

18 band gains, lows-to-highs. Bands the user hasn't touched read as kSuperequalizerUnityGain (the lavfi default), so the returned list is always exactly kSuperequalizerBandCount long regardless of how sparse the underlying params map is.
no setter
enabled → bool
Whether this effect is applied. false keeps it in the list, with its settings, without inserting it in the chain.
final
filter → AudioFilter
The filter this stage runs, as a typed identifier (null for a RawAudioEffect).
no setteroverride
filterName → String
The lavfi filter this stage runs, e.g. equalizer.
no setteroverride
hashCode → int
The hash code for this object.
no setteroverride
params → Map<String, double>
Raw values for parameters whose names start with a digit, keyed by their original ffmpeg option name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({bool? enabled, Map<String, double>? params}) → SuperequalizerEffect
Returns a copy of this SuperequalizerEffect with the given fields replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFilterString() → String
Returns the audio chain entry for this effect. Only non-default parameters are emitted.
override
toString() → String
A string representation of this object.
override
withBands(List<double> gains) → SuperequalizerEffect

Available on SuperequalizerEffect, provided by the SuperequalizerBandsX extension

Returns a copy whose params reflects gains. Bands sitting at unity are dropped from the map (lavfi treats absent bands as unity), keeping the serialised filter chain compact. Lists shorter than kSuperequalizerBandCount leave the trailing bands at unity; longer lists are truncated.

Operators

operator ==(Object other) → bool
The equality operator.
override