Process a file

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

ready

node examples/process-file.js input.mp3
audio-file
path to an audio file supported by decodeAudioData()
shelf=<db>
high-shelf gain above 4 kHz
threshold=<db>
compressor threshold
Graph
File → decode → high-shelf EQ → compressor → AudioBuffer
Input
Audio file
Output
Processed AudioBuffer

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.