DynamicsCompressorNode Class

A dynamics compressor (https://webaudio.github.io/web-audio-api/#DynamicsCompressorNode): it lowers the level of the loud parts of its input, with a fixed look-ahead delay, a soft knee, and a makeup gain.

public sealed class DynamicsCompressorNode : AudioNode
Inheritance
AudioNode DynamicsCompressorNode

Constructors

NameDescription
DynamicsCompressorNode(BaseAudioContext, DynamicsCompressorOptions?)Creates a compressor.

DynamicsCompressorNode(BaseAudioContext, DynamicsCompressorOptions?)

DynamicsCompressorNode.cs

Properties

NameDescription
AttackGets the time in seconds to reduce the gain by 10 dB.
KneeGets the range in dB above the threshold where the curve transitions to the ratio.
RatioGets the dB change of the input for a 1 dB change of the output.
ReductionGets the current gain reduction in dB.
ReleaseGets the time in seconds to increase the gain by 10 dB.
ThresholdGets the threshold in dB above which the compression starts.

Gets the time in seconds to reduce the gain by 10 dB.

public AudioParam Attack { get; }

Gets the range in dB above the threshold where the curve transitions to the ratio.

public AudioParam Knee { get; }

Gets the dB change of the input for a 1 dB change of the output.

public AudioParam Ratio { get; }

Gets the current gain reduction in dB.

public float Reduction { get; }

Gets the time in seconds to increase the gain by 10 dB.

public AudioParam Release { get; }

Gets the threshold in dB above which the compression starts.

public AudioParam Threshold { get; }