Fixed-Ratio Audio Compressor
Processes the decoded signal with Web Audio DynamicsCompressorNode at the selected threshold and a fixed 4:1 ratio. Knee, attack and release use browser defaults; the result is rendered to PCM16 WAV.
About this fixed-ratio audio compressor
Apply a Web Audio dynamics compressor with the selected threshold and a fixed derived ratio, then export WAV.
How this tool works
Processes the decoded signal with Web Audio DynamicsCompressorNode at the selected threshold and a fixed 4:1 ratio. Knee, attack and release use browser defaults; the result is rendered to PCM16 WAV.
- Download the example file and select it in the file input.
- Set the visible controls to: Threshold (dB) = -20
- Click “Process locally”.
- Download the result and inspect: czoa-audio-compressor-simulator.wav — PCM16; 48000 Hz; 2 channels; 72000 frames
Worked example
Scenario: Example file: /examples/audio-stereo.wav; Download the example file and select it in the file input. Set the visible controls to: Threshold (dB) = -20 Click “Process locally”. Download the result and inspect: czoa-audio-compressor-simulator.wav — PCM16; 48000 Hz; 2 channels; 72000 frames
Sample input:
Illustrative output:
Limits and verification
Threshold is −60 to 0 dB. Mono and stereo are supported by the compressor; more channels may be rejected. Output includes the compressor transient and latency. This is not MP3 compression, LUFS normalization or a mastering certificate.
Examples demonstrate an expected workflow; they do not prove every input or every branch of an external specification. Check important results with an independent source before using them for money, security, compliance, safety, or irreversible file changes.
Browser processing boundary
Tool input is processed by code running in the browser and is not intentionally sent to a CZOA processing API. The page can still request ordinary site assets, analytics, or advertising when those services are enabled. Browser extensions and managed-device software remain outside this tool's control.
Relevant references
These references govern or help explain the format, protocol, or calculation used here. Listing a reference does not claim certification or complete implementation of every optional feature.
- W3C Web Audio API 1.0 — browser decoding and offline rendering
- Microsoft RIFF/WAVE PCM and WAVEFORMATEXTENSIBLE
Content owner: CZOA Tools · Last reviewed: 2026-09-15 · Review methodology
How to use it
- Download the example file and select it in the file input.
- Set the visible controls to: Threshold (dB) = -20
- Click “Process locally”.
- Download the result and inspect: czoa-audio-compressor-simulator.wav — PCM16; 48000 Hz; 2 channels; 72000 frames
Frequently asked questions
How does Fixed-Ratio Audio Compressor process the signal or file?+
Processes the decoded signal with Web Audio DynamicsCompressorNode at the selected threshold and a fixed 4:1 ratio. Knee, attack and release use browser defaults; the result is rendered to PCM16 WAV.
How can I reproduce the Fixed-Ratio Audio Compressor example?+
Example file: /examples/audio-stereo.wav; Download the example file and select it in the file input. Set the visible controls to: Threshold (dB) = -20 Click “Process locally”. Download the result and inspect: czoa-audio-compressor-simulator.wav — PCM16; 48000 Hz; 2 channels; 72000 frames
What limits apply to Fixed-Ratio Audio Compressor?+
Threshold is −60 to 0 dB. Mono and stereo are supported by the compressor; more channels may be rejected. Output includes the compressor transient and latency. This is not MP3 compression, LUFS normalization or a mastering certificate.
What does browser-isolation evidence establish?+
Network requests observed during the example contained no selected-audio payload while the fixture compressed a level-step WAV and decoded it with FFmpeg. This supports only the tested value path, not an absolute privacy or offline claim.
