Edit audio
edit_audioChange audio on DaVinci Resolve timeline clips or tracks: isolate voice, normalize loudness, remove silence, map channels, or apply Fairlight presets, with dry-run confirmation.
Instructions
Change sound: voice isolation on clips or a track (Studio), loudness normalization, cut out silence, clip channel mapping, or apply a saved Fairlight preset to the timeline. remove_silence and apply_preset need the user's agreement. Volume and pan: use set_item. Mixer, EQ, dynamics, buses and automation have no script access: save them as a Fairlight preset in Resolve and apply it here.
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": "edit_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | normalize: a mode from get_audio | |
| items | No | Timeline clip handles; ['selected'] = selected clips, ['current'] = clip under the playhead. | |
| track | No | voice_isolation: an audio track instead of clips | |
| action | Yes | ||
| amount | No | ||
| preset | No | ||
| dry_run | No | true: only show the plan and get a confirm_token. false: do it, together with that token. | |
| enabled | No | ||
| mapping | No | channel_mapping: JSON text as in get_item include=['audio'] | |
| timeline | No | Handle (tl:...) of the timeline to change, from list_timelines or state_snapshot. | |
| crossfade | No | ||
| set_level | No | relative | |
| pre_frames | No | ||
| post_frames | No | ||
| target_level | No | ||
| threshold_db | No | ||
| confirm_token | No | From the dry run of exactly this call. Works once, for five minutes. | |
| minimum_frames | No | ||
| target_loudness | No |