# DynamicsCompressorNode WebAudioContext.createDynamicsCompressor()

with Promise style call: Not supported

Mini Program plugin: Not supported

Create a Dynamics CompressorNode

# Return value

# DynamicsCompressorNode

# sample code

sample code


let audioCtx = wx.createWebAudioContext()
let compressor = audioCtx.createDynamicsCompressor()

compressor.threshold.value = -50
compressor.knee.value = 40
compressor.ratio.value = 12
compressor.attack.value = 0
compressor.release.value = 0.25