DynamicsCompressorOptions Class
The options of a DynamicsCompressorNode (https://webaudio.github.io/web-audio-api/#DynamicsCompressorOptions).
public sealed class DynamicsCompressorOptions : AudioNodeOptions- Inheritance
AudioNodeOptionsDynamicsCompressorOptions
Constructors
| Name | Description |
|---|---|
| DynamicsCompressorOptions() |
DynamicsCompressorOptions()
DynamicsCompressorNode.cspublic DynamicsCompressorOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Attack | Gets the initial attack time in seconds. |
| Knee | Gets the initial knee in dB. |
| MakeupGain | 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. |
| Ratio | Gets the initial ratio. |
| Release | Gets the initial release time in seconds. |
| Threshold | Gets the initial threshold in dB. |
MakeupGain
DynamicsCompressorNode.csGets 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; }