Audio
audioAdjust clip pan, gain, mute, solo, normalize loudness to LUFS, duck music under voice, detect beats, and apply effects across many timeline clips.
Instructions
Audio on many clips. pan (-100..100, Balance effect), gain (dB, Amplify effect; clip gain is read-only for scripts), mute/unmute clips (or tracks: pass tracks without clips), solo_track (mute the other audio tracks), unsolo (unmute all audio tracks), normalize (each clip's volume set so its media range hits target LUFS, default -16 voice / -23 music), loudness (measure clips), duck (lower music clips under voice clips with volume keyframes from the voice envelope: duck_db, attack, release, padding), detect_beats / detect_transients (of a clip's media), effect (DeNoise, DeEsser, Dynamics, Parametric Equalizer, Hard Limiter, Studio Reverb... with params). channel_mapping returns UNSUPPORTED_IN_PREMIERE.
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": {
"action": "<action>"
},
"name": "audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | ||
| pan | No | ||
| async | No | Run as a background job: returns job_id at once (see jobs) | |
| clips | No | id, [ids] or {tracks,name_regex,kind,selected,at,start_min,start_max,every_nth,offset,limit} | |
| music | No | duck: the music clips to lower | |
| voice | No | duck: the voice clips (default tracks A1) | |
| action | Yes | ||
| attack | No | duck: seconds to go down, default 0.25 | |
| tracks | No | ||
| duck_db | No | duck: reduction under voice, default -12 | |
| effects | No | ||
| min_gap | No | duck: voice pauses shorter than this stay ducked, default 0.8 | |
| padding | No | duck: extend voice regions, default 0.2 | |
| project | No | ||
| release | No | duck: seconds to come back, default 0.5 | |
| sequence | No | Sequence id/name (default: active) | |
| target_lufs | No | ||
| include_linked | No | ||
| expected_project_path | No |