Skip to content

comp - Compressor

Reduces dynamic range by applying threshold-based compression with attack/release shaping.

DirectionHandle
Inputaudio-in
Outputaudio-out
ParameterLabelTypeDefaultRange
attackAttackslider (automatable)0.0030 - 1
kneeKneeslider (automatable)300 - 40
ratioRatioslider (automatable)121 - 20
releaseReleaseslider (automatable)0.250 - 1
thresholdThreshslider (automatable)-24-100 - 0
FieldValue
Native typeDynamicsCompressor
Create argsnone
Implementation statusimplemented
  • none
  • none
  • Add visible gain-reduction metering in the compressor panel.

Based on DynamicsCompressorNode (MDN)

FieldValue
API nodeDynamicsCompressorNode
FactorycreateDynamicsCompressor
Factory argsnone
Web Audio paramsthreshold, knee, ratio, attack, release
NameType
thresholdAudioParam
kneeAudioParam
ratioAudioParam
attackAudioParam
releaseAudioParam
NameType
reductionfloat
SourceIdentifierSection
Primaryw3c-webaudio-1-1DynamicsCompressorNode
Secondarymdn-webaudioWeb Audio API
  • none