/agent-edite-davinci-resolve:resolve-audiofrom agent-edite-davinci-resolve
Audio and Fairlight work in the DaVinci Resolve MCP. Apply when setting audio properties, syncing audio, isolating voice, generating subtitles, planning Fairlight track/bus layouts, checking loudness, routing buses, or splitting/trimming/converting audio — live in a running Resolve OR offline. Routes to the live audio tools, the offline audio planning/bus-routing tools, and the Fairlight kernel.
Ships in agent-edite-davinci-resolve. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Thin router; depth stays in the kernel.
Live tool mechanics — docs/kernels/audio-fairlight-kernel.md (the
timeline audio/Fairlight boundary).
Offline planning + bus routing — resolve-advanced/README.md →
audio_plan, fairlight, audio.
If the ask is "make this sound balanced" rather than "route these buses", start with
media_analysis mix_plan (Python server, no Resolve needed). Give it the dialogue stems
and it derives the dialogue-normalisation gain, the music-bed level under it, and ducking
windows from the dialogue's own silence — then renders a premix and measures it, so
what you report is the loudness achieved rather than the gain arithmetic.
dry_run defaults to true: show the gains and the window count first. On a
full-programme standard (ebu_r128, web) a measured programme trim lands the whole mix
on target; on ott_dialogue_gated it deliberately does not trim, because dialogue is the
figure being graded. Flags (loudness_off_target, true_peak_over, clipped) come back
with remedies and are never auto-corrected — report them, do not paper over them.
| Job | Server | Tools |
|---|---|---|
| Audio on a running timeline | davinci-resolve (Python, live) | timeline (`probe_audio_item |
| Plan tracks / route buses / edit audio files with no Resolve open | davinci-resolve-advanced (Node) | audio_plan, fairlight, audio |
audio_plan (pure Node) — list_templates, select_template,
track_plan, analyze_coverage, check_loudness (R128 −23 / ATSC −24 /
streaming −14 targets). Plan the layout before building it live.
fairlight — bus routing has no scripting API; it patches the
FLStudioModelBA blob. read_buses_from_blob (offline); read_buses_from_db,
expand_buses, export_template/import_template, backup, restore (DB
path — needs better-sqlite3; project CLOSED + quit/relaunch like other DB
patches).
audio — offline ffmpeg: split (silence/TC/intervals), trim,
convert (needs ffmpeg on PATH — GPL, not bundled). Align/loudness-measure not
yet vendored.
Named loudness standards live with the delivery targets, not here:
render(action='list_loudness_standards') → web, podcast, ebu_r128,
atsc_a85, ott_dialogue_gated. Attach one to a delivery target and hand the
emitted loudness_target.target to advanced loudness_qc. See the delivery
skill for why dialogue-gated standards assert true peak only.
plan_silence_ripple calibrates its own gate. Omit threshold_db and the
threshold is measured from that clip's own dynamics (astats trough vs peak),
per item, reported in calibrations[]. A fixed −30 dB under-detects on quiet
location sound and over-cuts a noisy room.
When trough and peak are not separated, no threshold distinguishes speech from
room: the item is kept whole and the reason surfaced, rather than stripped
against an unvalidated gate. A −30 dB default applied to a −33 dB programme
reads as silent end to end and would remove the entire clip.
Pass threshold_db explicitly to override; it is honoured untouched.
Timeline audio SetProperty (e.g. Volume) can return false for some
generated item types; AutoSyncAudio depends on media + Resolve's sync engine.
The public API does not expose Fairlight mix automation curves or plugin graphs
— use fairlight for bus structure, not automation.
**The whole-mix preset workaround is version-gated, and it is the only write
path there is.** Per-parameter Fairlight control does not exist at any version;
what exists is GetFairlightPresets + ApplyFairlightPresetToCurrentTimeline,
which apply a saved mix wholesale. Both require Resolve 20.2.2+ and are
absent on 19.1.3 (confirmed live). So on an older build the per-parameter gap
is the entire story and there is no workaround to offer — check with
resolve_control check_version_support before proposing one, and say the build
is too old rather than suggesting a call that will not be there.
The AI Audio Assistant (one-click auto-mix) is not scriptable on any build
— no method exists on Resolve, Project, Timeline or TimelineItem
(issue #128). Presets cover the repeatable-template case, never the
content-adaptive one.
Batch loudness to a LUFS target (KT404 Highlights, 21.1.0.17, 2026-11-05).
The API has no limiter. AudioVolume on every item moves integrated
loudness and peak by the same dB, so a raw live VOD that already peaks near
0 dBTP can only be turned down. 29 of 47 clips could not reach -14 LUFS that
way.
AudioDialogueLeveler* (clip, active timeline only) cut PLR by only
~2 dB. Enabling it also switches on BackgroundReduction and +2 dB
OutputGain: set both explicitly.GetFairlightPresets() (still {}), and a DRT export carries no bus/FX
data. There was no scripted way to copy it to other timelines.min(-14 - LUFS, -1 - truePeak) from the
measured test render. Log each timeline as it is applied so a rerun never
adds the gain twice.Timeline.NormalizeAudioLevel is clip-gain normalization, also without a
limiter.peak - ceiling + margin.
A1 and BGM stay untouched, so integrated loudness barely moves.Read back all Dialogue Leveler fields after DRT reimport. On Resolve 21.1.1.10 the enabled state and clip gain can survive while AudioDialogueLevelerBackgroundReduction and AudioDialogueLevelerOutputGain reset to True and +2 dB. Compare against the active source timeline, restore the intended settings on the variant (scripts/set_dialogue_leveler.py for its standard profile), and measure the new render.
Quiet raw mic recording: Dialogue Leveler first (Katy404 day 28, 21.1.0.17, 2026-11-15).
Opposite case to the hot VODs above. Source -29 LUFS with peaks at -5.5 dBFS: flat
gain was capped at ~+4.5 dB, but scripts/set_dialogue_leveler.py --apply (reduce
loud + lift soft, BackgroundReduction off, OutputGain 0) alone rendered -13.7 LUFS,
LRA 3.4 LU, true peak -1.0 dBFS with SFX/BGM on top. It also lifts game sounds in
speech-free pauses (one pause -15.9 LUFS). OutputGain read back 0.0 after the set
and 2.0 on a later read (re-applied, it then held through a render at -14.0 LUFS): re-read it right before a render. Always confirm with a render. The leveler keys are
"[Active Timeline Only]": on an inactive timeline they all read False; activate first.
SaveProject is slow on a large project. On a ~100-timeline project in a
Google Drive library, each activate + set + SaveProject took about 30-60 s.
Windows showed Resolve as "Not responding" the whole time, but the log kept
advancing. Check log progress before treating it as a hang or running
resolve_recover.py. Do not run a second Resolve script in parallel: it
queues behind the save and races SetCurrentTimeline.
Never modify/transcode/derive source media (AGENTS.md) — the offline audio ops
write NEW files to scratch, never over source.
Before any script, check the davinci-resolve MCP catalog; write a Resolve Python scripting-API script only after a stated MCP-GAP: line shows the MCP lacks the tool/action. Follow AGENTS.md "Tool selection" and run python scripts/resolve_preflight.py --need <tool[.action]>.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub pong34811/agent-edite-davinci_resolve --plugin agent-edite-davinci-resolve98 skills in this plugin
/agent-edite-skills-catalogInventory, read, and route this repo's project skills./agent-skill-repo-releaseVersion, tag, push, and publish skill-repo releases./davinci-resolve-apiComprehensive guide for scripting DaVinci Resolve Studio via its Python API. Covers environment setup, connection, project management, media pool operations, timeline building, clip placement, color management, rendering, and export. Requires DaVinci Resolve Studio (free version does not include scripting API).