Process audio files
process_audioTrim, apply effects and fades, adjust pitch, speed or volume, then export one audio file, a list, or a folder to WAV, AIFF, or FLAC at chosen bit depth.
Instructions
Run audio files (one, a list or a folder) through SoundCraft: trim, AudioSuite processing (normalize to a peak, gain, reverse, invert, pitch shift in semitones, time stretch keeping the pitch, varispeed), insert effects (EQ, compressor, gate, de-esser, maximizer, reverb, delay, chorus, flanger, phaser, saturation, lo-fi...), fades, volume and pan, then write WAV, AIFF or FLAC at any bit depth, with peak and loudness (LUFS). Inputs are only read.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "process_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pan | No | ||
| speed | No | Varispeed (pitch and length change together): 2 = twice as fast. | |
| format | No | wav | |
| invert | No | Invert the polarity. | |
| suffix | No | _processed | |
| effects | No | Insert effects, in order (rendered into the output). | |
| fade_in | No | ||
| gain_db | No | ||
| preview | No | Return a waveform picture of the first result. | |
| reverse | No | ||
| stretch | No | Time stretch keeping the pitch: 2 = twice as long. | |
| fade_out | No | ||
| trim_end | No | Keep up to this time (seconds). | |
| bit_depth | No | 24 | |
| input_dir | No | Every audio file directly in this folder. | |
| overwrite | No | Replace existing outputs. | |
| volume_db | No | ||
| input_path | No | ||
| output_dir | No | Absolute output folder (default: next to the input; required for new files). | |
| trim_start | No | Keep from this time (seconds). | |
| input_paths | No | ||
| output_path | No | Absolute output file for the first format (its extension must match). | |
| sample_rate | No | Output rate (default: the file's own). | |
| normalize_db | No | Normalize the peak to this level (dBFS), before the effects. | |
| pitch_semitones | No | Pitch shift keeping the length. |