CompandSoftKneeX extension
Typed access over compand.soft-knee — the smoothing applied
across the breakpoints of the transfer function.
soft-knee is a single numeric AVOption, but the codegen routes
it through params: Map<String, double> because Dart identifiers
can't contain a hyphen. This extension hides that detail so
consumers can write s.withSoftKnee(0.5) instead of building the
map by hand.
Properties
- softKnee → double
-
Available on CompandSettings, provided by the CompandSoftKneeX extension
Soft-knee smoothing in dB. lavfi default is kCompandSoftKneeDefault — a hard knee.no setter
Methods
-
withSoftKnee(
double v) → CompandSettings -
Available on CompandSettings, provided by the CompandSoftKneeX extension
Returns a copy whoseparamsmap carriesvunder thesoft-kneekey. Values equal to kCompandSoftKneeDefault drop out of the map (the lavfi default applies implicitly).