@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="DynamicsCompressorNode")
public class DynamicsCompressorNode
extends AudioNode
channelCount, channelCountMode, channelInterpretation| Constructor and Description |
|---|
DynamicsCompressorNode(BaseAudioContext context)
The DynamicsCompressorNode() constructor creates a new DynamicsCompressorNode object which provides a compression effect, which lowers the volume of the loudest parts of the signal
|
DynamicsCompressorNode(BaseAudioContext context,
DynamicsCompressorOptions options)
The DynamicsCompressorNode() constructor creates a new DynamicsCompressorNode object which provides a compression effect, which lowers the volume of the loudest parts of the signal
|
| Modifier and Type | Method and Description |
|---|---|
AudioParam |
attack()
An AudioParam.
|
AudioParam |
knee()
An AudioParam.
|
AudioParam |
ratio()
An AudioParam.
|
float |
reduction()
The reduction read-only property of the DynamicsCompressorNode interface is a float representing the amount of gain reduction currently applied by the compressor to the signal.
|
AudioParam |
release()
An AudioParam.
|
AudioParam |
threshold()
An AudioParam.
|
connect, connect, connect, connect, connect, context, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, numberOfInputs, numberOfOutputsaddEventListener, addEventListener, addEventListener, dispatchEvent, removeEventListener, removeEventListener, removeEventListenerpublic DynamicsCompressorNode(@Nonnull
BaseAudioContext context,
@Nonnull
DynamicsCompressorOptions options)
public DynamicsCompressorNode(@Nonnull
BaseAudioContext context)
@JsProperty(name="attack") @Nonnull public AudioParam attack()
@JsProperty(name="knee") @Nonnull public AudioParam knee()
@JsProperty(name="ratio") @Nonnull public AudioParam ratio()
@JsProperty(name="reduction") public float reduction()
@JsProperty(name="release") @Nonnull public AudioParam release()
@JsProperty(name="threshold") @Nonnull public AudioParam threshold()