API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

C

classCompressorEffect

@codexo/exojs-audio-fx / audio / stable

Dynamic-range compressor backed by a Web Audio `DynamicsCompressorNode`. Reduces the volume of loud signals above a threshold, evening out the perceived loudness of a mix. All parameter changes are applied with a short smoothing ramp so they are artifact-free during playback.

9
props
1
methods
0
events
Import
import { CompressorEffect } from '@codexo/exojs-audio-fx'

Dynamic-range compressor backed by a Web Audio `DynamicsCompressorNode`. Reduces the volume of loud signals above a threshold, evening out the perceived loudness of a mix. All parameter changes are applied with a short smoothing ramp so they are artifact-free during playback.

Constructors 1
new(options: CompressorEffectOptions): CompressorEffect
Methods 1
destroy(): void
Properties 9
attack: number
inputNode: AudioNode
knee: number
outputNode: AudioNode
ratio: number
ready: Promise<void>
reduction: number
release: number
threshold: number
Source