TrebleSettings constructor
const
TrebleSettings({
- bool enabled = false,
- TrebleTransformType a = TrebleTransformType.di,
- int b = 0,
- int blocksize = 0,
- String c = 'all',
- String channels = 'all',
- double f = 3000.0,
- double frequency = 3000.0,
- double g = 0.0,
- double gain = 0.0,
- double m = 1.0,
- double mix = 1.0,
- bool n = false,
- bool normalize = false,
- int p = 2,
- int poles = 2,
- TreblePrecision precision = TreblePrecision.auto,
- TreblePrecision r = TreblePrecision.auto,
- TrebleWidthType t = TrebleWidthType.q,
- TrebleTransformType transform = TrebleTransformType.di,
- double w = 0.5,
- double width = 0.5,
- TrebleWidthType width_type = TrebleWidthType.q,
Creates an TrebleSettings with the given parameter values.
Each parameter defaults to its ffmpeg default; the effect stays
inactive until enabled is set to true.
Implementation
const TrebleSettings({
this.enabled = false,
this.a = TrebleTransformType.di,
this.b = 0,
this.blocksize = 0,
this.c = 'all',
this.channels = 'all',
this.f = 3000.0,
this.frequency = 3000.0,
this.g = 0.0,
this.gain = 0.0,
this.m = 1.0,
this.mix = 1.0,
this.n = false,
this.normalize = false,
this.p = 2,
this.poles = 2,
this.precision = TreblePrecision.auto,
this.r = TreblePrecision.auto,
this.t = TrebleWidthType.q,
this.transform = TrebleTransformType.di,
this.w = 0.5,
this.width = 0.5,
this.width_type = TrebleWidthType.q,
});