Process a file

Decode an audio file, apply EQ and compression, then render the processed result.

npx web-audio-api process-file input.mp3
audio-file
path to an audio file supported by decodeAudioData()
shelf=<db>
high-shelf gain above 4 kHz
threshold=<db>
compressor threshold
ready

This decodes an audio file and processes it entirely offline: a high-shelf EQ followed by a compressor, then rendered to a finished AudioBuffer. Drop a file into the browser preview, or run the Node CLI with @audio/decode for broader, runtime-independent codec coverage.