Audio Dynamic Range Compressor

Preview audio compression with a live gain-reduction meter and four controls, or export 48 kHz PCM16 WAV. Local input must be smaller than 50 MB.

Audio Compressor Simulator · Client runtimeSandboxed
Formatted results will render here in real time.

About this audio dynamic range compressor

Preview audio compression with a live gain-reduction meter and four controls, or export 48 kHz PCM16 WAV. Local input must be smaller than 50 MB Processes streaming audio and video buffers directly in the browser using HTML5 Media and Web Audio APIs with zero server uploads.

Audio and video decoding pipeline

The execution engine processes input tokens and applies transformations in the browser sandbox. Specifically, Audio stays in this browser. Live playback uses DynamicsCompressorNode with adjustable threshold, ratio, attack and release. The numeric meter shows its signed reduction in dB; the bar shows the positive magnitude capped at 60 dB. Pause retains position; seeking moves playback; reset clears the preview and releases its audio context. Leaving the page releases playback. The independent WAV section renders the whole file offline with its own selected settings; preview changes are not recorded. At 1:1, live preview and WAV export bypass compression with unity gain and no compressor look-ahead delay; the live reduction meter shows 0 dB. Ratios above 1:1 keep the native compressor. Switching across 1:1 may produce a discontinuity; no seamless transition is promised.

Worked media transformation example

Scenario: Audio Dynamic Range Compressor

Sample input:

/examples/audio-stereo.wav

Processing: Choose local audio for live preview, adjust threshold, ratio, attack and release, and watch gain reduction during playback. Use the separate WAV section to export with its own file and controls.

Illustrative output:

Choose /examples/audio-stereo.wav for preview, set −24 dB, 8:1, attack 0.003 s and release 0.25 s, then play and observe the signed reduction. Pause and try ratio 1:1. For WAV export, select the file and settings again in the separate section. The stereo 48 kHz PCM16 export has 72,000 frames. Preview changes are not saved as automation; no exact attenuation or target loudness is promised.

Buffer duration & codec support limits

Operational constraints and validation boundaries: Input must be nonempty and smaller than 50 MB (50,000,000 bytes), checked before reading. Threshold: −60 to 0 dB; ratio: 1:1 to 20:1; attack and release: 0 to 1 second. The native compressor keeps its default 30 dB knee and may add look-ahead delay. The meter reports the browser compressor’s current reduction, not a full transfer curve, calibrated loudness or physical hearing level. No separate makeup gain or loudness normalization. WAV export is 48 kHz PCM16; metadata is not preserved.

Audio and video rendering in Audio Dynamic Range Compressor depends on browser hardware and supported media codecs. Verify playback compatibility on your target platforms.

In-memory audio-video processing boundary

File buffers and document assets in Audio Dynamic Range Compressor are processed in-memory via local browser APIs with zero file uploads to CZOA servers.

HTML5 Media & Web Audio standards

W3C Web Audio API specifications and HTML5 media container standards:

  • W3C Web Audio DynamicsCompressorNode: threshold, ratio, attack, release and signed reduction in dB
  • Live reduction value with positive magnitude bar capped at 60 dB; not full transfer-curve or physical loudness calibration
  • Independent OfflineAudioContext export at 48 kHz PCM16; default 30 dB knee; no makeup gain or loudness normalization

Audio Dynamic Range Compressor verification · Audit standards

How to use it

  1. Enter, paste, or select your input data into the Audio Dynamic Range Compressor workspace controls.
  2. Review parameter fields, units, or options configured for Audio Dynamic Range Compressor.
  3. Pause and try ratio 1:1.

Frequently asked questions

Audio Dynamic Range Compressor+

Audio stays in this browser.

Gain reduction (dB)+

The signed number is the native compressor’s current reduction in dB. The bar shows its positive magnitude, capped at 60 dB. Pause retains position; reset clears the preview and releases playback.

Threshold (dB)+

Input must be nonempty and smaller than 50 MB (50,000,000 bytes), checked before reading.

Play preview+

Pause and try ratio 1:1.