DynamicsCompressorOptions Class

The options of a DynamicsCompressorNode (https://webaudio.github.io/web-audio-api/#DynamicsCompressorOptions).

public sealed class DynamicsCompressorOptions : AudioNodeOptions
Inheritance
AudioNodeOptions DynamicsCompressorOptions

Constructors

NameDescription
DynamicsCompressorOptions()

DynamicsCompressorOptions()

DynamicsCompressorNode.cs
public DynamicsCompressorOptions()

No documentation is available.

Properties

NameDescription
AttackGets the initial attack time in seconds.
KneeGets the initial knee in dB.
MakeupGainGets the initial makeup gain in dB, or MakeupGainOptions.Automatic (the default) for a makeup gain computed from the threshold, the knee and the ratio.
RatioGets the initial ratio.
ReleaseGets the initial release time in seconds.
ThresholdGets the initial threshold in dB.

Gets the initial attack time in seconds.

public float Attack { get; init; }

Gets the initial knee in dB.

public float Knee { get; init; }

Gets the initial makeup gain in dB, or MakeupGainOptions.Automatic (the default) for a makeup gain computed from the threshold, the knee and the ratio.

public FloatOrMakeupGainOptions MakeupGain { get; init; }

Gets the initial ratio.

public float Ratio { get; init; }

Gets the initial release time in seconds.

public float Release { get; init; }

Gets the initial threshold in dB.

public float Threshold { get; init; }