AnequalizerEffect class final
Configuration for the anequalizer audio effect.
High-order parametric multiband equalizer for each channel.
It accepts the following parameters:
Parameters:
- colors: set channels curves colors (range 0..0, default "red|green|blue|yellow|orange|lime|pink|magenta|brown")
- curves: draw frequency response curves (range 0..1, default 0)
- fscale: set frequency scale (range 0..1, default 1)
- mgain: set max gain (range -900..900, default 60)
- params: This option string is in format: "c
chnf=cfw=wg=gt=f| ..." Each equalizer band is separated by '|'. (range 0..0, default "") - size: set video size (range 0..0, default "hd720")
- Inheritance
-
- Object
- AudioEffect
- AnequalizerEffect
- Available extensions
Constructors
- AnequalizerEffect({bool enabled = true, String colors = 'red|green|blue|yellow|orange|lime|pink|magenta|brown', bool curves = false, AnequalizerFscale fscale = AnequalizerFscale.log, double mgain = 60.0, String params = '', String size = 'hd720'})
-
Creates an AnequalizerEffect with the given parameter values.
const
Properties
-
bands
→ List<
AnequalizerBand> -
Available on AnequalizerEffect, provided by the AnequalizerBandsX extension
Decoded list of bands in declaration order. Reads the underlying params string; the per-channel repeatswithBandsemits are collapsed back to one entry per logical band.no setter - colors → String
-
set channels curves colors
final
- curves → bool
-
draw frequency response curves
final
- enabled → bool
-
Whether this effect is applied.
falsekeeps 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 (
nullfor a RawAudioEffect).no setteroverride - filterName → String
-
The lavfi filter this stage runs, e.g.
equalizer.no setteroverride - fscale → AnequalizerFscale
-
set frequency scale
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- mgain → double
-
set max gain
final
- params → String
-
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
- size → String
-
set video size
final
Methods
-
copyWith(
{bool? enabled, String? colors, bool? curves, AnequalizerFscale? fscale, double? mgain, String? params, String? size}) → AnequalizerEffect - Returns a copy of this AnequalizerEffect 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< AnequalizerBand> bands, {int channels = _anequalizerDefaultChannels}) → AnequalizerEffect -
Available on AnequalizerEffect, provided by the AnequalizerBandsX extension
Returns a copy whose params reflectsbands. Each band is emitted for channels 0 tochannels- 1 of the filter's input.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override