AnequalizerBand class final
One logical band of the lavfi anequalizer filter.
On the wire this is repeated once per channel inside the
params CSV — the typed model hides that detail. Stereo content
hears the band on both channels by default; surround content past
channel 1 is left to mpv's downmix.
Constructors
- AnequalizerBand({required double frequency, required double bandwidth, required double gain, AnequalizerBandType type = AnequalizerBandType.butterworth})
-
Creates an AnequalizerBand.
const
Properties
- bandwidth → double
-
Bandwidth in Hz (NOT a Q-factor). Use withQ to set by Q.
final
- frequency → double
-
Centre frequency in Hz.
final
- gain → double
-
Gain in dB.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- q → double
-
Q-factor view.
Q = frequency / bandwidth.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → AnequalizerBandType
-
Filter shape. Defaults to AnequalizerBandType.butterworth —
matches the lavfi
t=0default.final
Methods
-
copyWith(
{double? frequency, double? bandwidth, double? gain, AnequalizerBandType? type}) → AnequalizerBand - Returns a copy of this band with the given fields replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
withQ(
double q) → AnequalizerBand - Returns a copy with bandwidth derived from a Q-factor.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override