This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

createDynamicsCompressor

Summary

Creates a DynamicsCompressorNode, used to apply compression to audio.

Method of apis/webaudio/AudioContextapis/webaudio/AudioContext

Syntax

var  = AudioContext.createDynamicsCompressor();

Return Value

Returns an object of type

DynamicsCompressorNode

Examples

var audioCtx = new AudioContext();
var compressor = audioCtx.createDynamicsCompressor();

Related specifications

W3C Web Audio API
W3C Editor’s Draft