API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceCompressorEffectOptions
@codexo/exojs-audio-fx / audio / stable
Construction options for CompressorEffect. All values are clamped to their valid ranges on assignment.
5
props
0
methods
0
events
Import
import { CompressorEffectOptions } from '@codexo/exojs-audio-fx'Construction options for CompressorEffect. All values are clamped to their valid ranges on assignment.
Properties5
attack?: numberTime in seconds for the compressor to engage after the signal exceeds the threshold. Range 0..1, default 0.003.
knee?: numberratio?: numberrelease?: numberTime in seconds for the compressor to disengage after the signal drops below the threshold. Range 0..1, default 0.25.
threshold?: numberSource