Apply audio effects (processor chain)
audio_processApplies audio processor chains (EQ, compression, reverb) to files, supports parameter automation and headphone/speaker rendering, and reports loudness, true peak, and band balance before and after.
Instructions
Applies a chain of audio processors in order: EQ, compressor, limiter, gate, de-esser, reverb, delay, chorus, flanger, saturation, stereo width, room morph and the rest of the 95 catalog processors, and reports loudness (LUFS), true peak and low/mid/high band balance before and after. Parameters can move over time with 'automation', the audio can be rendered for headphones or speakers with 'playback_render', and dry_run with report 'eqResponse' returns the EQ curve of the chain. Use it for a specific effect or a hand-built chain; look up processor ids and parameters with music_catalog first. Do not use it to master to a loudness target (use audio_master), to remove noise, clicks or hum (use audio_repair), to match a reference track (audio_master with reference), to mix or join several files (use project_create and project_render), or for gain, fades, trim and format conversion (use audio_edit). Example: {"path": "vocal.wav", "chain": [{"processor": "eq.parametric", "params": {}}, {"processor": "effects.reverb.plate", "params": {}}]}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "audio_process"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Input audio file (wav, flac, mp3, ogg, aiff, ...). | |
| chain | No | Processors applied in order, each {processor, params}. Ids and parameters come from music_catalog kind 'processors' / 'processor'. The chain runs each processor's offline form, or its realtime form when 'automation' is given, and takes that form's parameters. An empty chain copies the audio (useful with range to cut, or to re-encode). | |
| range | No | Only process this window {start_sec, end_sec}; the output contains just the window. An end_sec past the end is clipped (reported in warnings). Default: the whole file. | |
| detail | No | 'concise' returns the summary and the most useful fields; 'full' returns all. | concise |
| format | No | Output format: wav, flac, ogg (Vorbis), opus, mp3, aiff, or m4a (AAC, needs ffmpeg). Default: the explicit output's extension, else the input's format, else wav. | |
| output | No | Output file path. Default: an auto-named new file '<input stem>.<tool>.<ext>' in the output directory. | |
| report | No | With dry_run: instead of only planning, add the named measurement of the chain to the answer. 'eqResponse': the combined magnitude curve, in dB at third-octave frequencies, of the chain's eq.parametric steps. | |
| dry_run | No | Report the resolved output plan and paths without processing or writing. | |
| quality | No | Lossy encoder setting for ogg/opus/mp3, 0..1 (soundfile compression_level, variable bit rate): 0 = best quality, 1 = smallest file. On 48 kHz stereo music, mp3 0 / 0.3 / 1 is about 192 / 120 / 55 kbit/s (no 320 kbit/s setting), ogg about 330 / 150 / 45 and opus about 510 / 360 / 13. Default 0.3. Excludes bit_depth. | |
| bit_depth | No | PCM bit depth for wav/flac/aiff: 16, 24 or 'float32' (32-bit float; not flac). Default: the input's depth, else 24. Excludes quality. | |
| hrtf_path | No | A SHRF v1 HRTF set for a headphones playback_render. Default: the built-in set. | |
| overwrite | No | Replace an existing output file. Without it an existing file is an error. | |
| automation | No | Parameters of chain steps that move over time, e.g. a filter sweep or a fade of an effect's amount: [{processor_index, param, points: [{time_sec, value}]}]. Mono or stereo input only; processors without a realtime form cannot be automated. | |
| sample_rate | No | Output sample rate in Hz; the audio is resampled when it differs. Default: the input's rate. Opus is always 48000. | |
| playback_render | No | After the chain, render for a playback target (binaural headphones, speaker layouts) with the playback renderer; the output may have another channel count than the input. Accepts 5.1 / 7.1 input only when the chain is empty. |