DynamicsCompressorOptions constructor

DynamicsCompressorOptions({
  1. double? attack,
  2. double? knee,
  3. double? ratio,
  4. double? release,
  5. double? threshold,
})

Implementation

factory DynamicsCompressorOptions(
        {double? attack,
        double? knee,
        double? ratio,
        double? release,
        double? threshold}) =>
    DynamicsCompressorOptions._(
        attack: attack ?? 0.003,
        knee: knee ?? 30,
        ratio: ratio ?? 12,
        release: release ?? 0.25,
        threshold: threshold ?? -24);