{
 "skill": "checking-loudness",
 "date": "2026-11-28",
 "finalRun": "loudness-r2",
 "note": "runs[0] used the SKILL.md in the ZIP on monody.ai/skills; any later entry is an earlier run with the first version, kept because the page describes what it got wrong.",
 "runs": [
  {
   "what": "One Claude Code run of the checking-loudness skill on monody 0.9.8 over MCP, 28 November 2026. claude -p from an empty folder holding only the skill, with only monody's MCP server attached and no other Claude Code tools than Skill. The song: a 96-bar tech house rough mix with five planted faults (the one in /blog/can-claude-mix-and-master).",
   "request": "I'm about to export the song I have open in monody for streaming. Check the loudness first.",
   "model": "claude-opus-5-5",
   "claudeCodeVersion": "2.1.322",
   "tools": [
    "Skill",
    "mcp__monody__action_history",
    "mcp__monody__analyze_mix",
    "mcp__monody__analyze_range",
    "mcp__monody__apply_sound_preset",
    "mcp__monody__audition_sounds",
    "mcp__monody__chain_presets",
    "mcp__monody__compare_kits",
    "mcp__monody__compose_preflight",
    "mcp__monody__convert_to_midi",
    "mcp__monody__describe_library_sound",
    "mcp__monody__describe_plugin",
    "mcp__monody__detect_tempo",
    "mcp__monody__find_sounds",
    "mcp__monody__freeze_track",
    "mcp__monody__fx_chain",
    "mcp__monody__get_composition",
    "mcp__monody__get_project",
    "mcp__monody__get_reference",
    "mcp__monody__get_selection",
    "mcp__monody__groove_pool",
    "mcp__monody__list_library_kits",
    "mcp__monody__master_to_target",
    "mcp__monody__mix_relation",
    "mcp__monody__redo",
    "mcp__monody__relink_sources",
    "mcp__monody__render_wav",
    "mcp__monody__run_commands",
    "mcp__monody__search_library",
    "mcp__monody__search_plugin_presets",
    "mcp__monody__search_plugins",
    "mcp__monody__search_sounds",
    "mcp__monody__separate_stems",
    "mcp__monody__session",
    "mcp__monody__slice_source",
    "mcp__monody__song_job",
    "mcp__monody__song_reviews",
    "mcp__monody__song_variants",
    "mcp__monody__song_verify",
    "mcp__monody__transport",
    "mcp__monody__undo",
    "mcp__monody__warp_clip"
   ],
   "secondsToReply": 33.2,
   "projectBefore": "rev 1 | actions 2",
   "projectAfter": "rev 1 | actions 2",
   "skill": "---\nname: checking-loudness\ndescription: Checks a monody song's loudness before export, from integrated LUFS and true peak against a delivery target to what sets the level and what to change. Use before exporting, mastering or uploading.\nlicense: MIT\n---\n\n# Checking loudness before export\n\nRead and measure only. Do not run `master_to_target` or change the master bus in this check: say what it would take.\n\n## 1. The target\n\n- Use the target the producer names: their LUFS and true-peak numbers, or a platform's published figures if they give them.\n- Otherwise use monody's preset closest to where the song goes, and say you chose it: `streaming` (-14 LUFS, -1 dBTP), `apple` (-16, -1), `club` (-9, -0.5). Any other pair is `{\"target\": \"custom\", \"lufs\": ..., \"truePeak\": ...}`. These are monody's starting targets, not a platform's rules.\n\n## 2. Read\n\n- `monody:get_project`: the master bus is `project.master` (`chain`; no `master` key means it is empty). Note any limiter, maximizer or trim already there and its ceiling; a device with origin `master` was put there by `master_to_target`, which replaces only its own devices. Note each track's `volumeDb` and the last device of its chain.\n- `monody:get_composition` for the sections and their beats.\n\n## 3. Measure\n\n- `monody:analyze_mix` with the target: integrated LUFS, short-term max, loudness range (LRA), true peak, PLR, each track's peak and share, each section's LUFS, and the findings.\n- `monody:analyze_range` `{\"fromBeat\": ..., \"toBeat\": ..., \"prerollBars\": 2, \"tailSeconds\": 0}` for the loudest section and for the first section: their mix LUFS and momentary max.\n- The true peak that counts is `analyze_mix`'s: the whole song rendered from its start, as an export is. `analyze_range` starts its render cold a few bars early, so effects that remember (reverbs, delays, modulation) can make its peaks differ from the song's. Quote a section's peak only beside the song's, never in its place.\n\n## 4. Work out what to change\n\n- Gap = target LUFS - integrated LUFS. Positive: the song needs that much gain. Negative: it needs that much trim.\n- Limiting needed = true peak + gap - ceiling, when positive: how many dB of peaks a limiter must hold down to reach the target. Give it as a number.\n- True peak above the ceiling already: a fix whatever the loudness.\n- A track whose peak is above 0 dBFS: it clips before the master. Fix it on the track.\n- A track with 50 % or more of the share: the limiter will mostly react to that track. Say the mix may want a look first (a mix check).\n- A limiter already on the master with a ceiling above the target's true peak, or a second limiter after it: name it.\n- A first section much quieter than the loudest one is normal in an intro; report the difference, do not call it a fault.\n\nWhat to change, in order: track fixes (clipping, a dominant track), then `monody:master_to_target` with the target as one undoable step (read its measured result before trusting it), then export.\n\n## 5. Report\n\n1. The target and why it was chosen.\n2. A table: Measure | Now | Target | Gap, for integrated LUFS, true peak, short-term max, LRA and PLR.\n3. What sets the level: the loudest section with its bars, the track with the largest share, the highest peaks.\n4. What to change, in order, each with its number.\n5. What you did not check.\n\nDo not say what a platform does with a song's level (turns it down, turns it up) unless the producer gave you its published rule.\n\nLoudness numbers describe the render; you did not listen. Whether the song should be that loud is the producer's call.\n",
   "toolCalls": [
    {
     "n": 1,
     "tool": "Skill",
     "input": {
      "skill": "checking-loudness"
     },
     "failed": false,
     "resultCharacters": 34,
     "result": "Launching skill: checking-loudness"
    },
    {
     "n": 2,
     "tool": "monody:get_project",
     "input": {},
     "failed": false,
     "resultCharacters": 18251,
     "result": "{\"durationSeconds\": 180, \"endBeat\": 384, \"loop\": {\"endBeat\": 0, \"on\": false, \"startBeat\": 0}, \"overview\": {\"fullCharacters\": 298393, \"leftOut\": \"each track's clips (counted, with the beats they start between), take-lane clips, slot clip contents, sources' usedBy\", \"readWith\": \"get_project {trackIds:[...]} for whole tracks, {clipIds:[...]} for clips\"}, \"playheadBeat\": 0, \"playing\": false, \"plugins\": {\"catalog\": {\"formats\": {\"au\": 26, \"clap\": 1, \"vst3\": 1}, \"installed\": 28, \"readWith\": \"search_plugins / describe_plugin\", \"version\": \"b872b53666b44704\"}, \"inProject\": {}, \"installed\": \"[28 installed plug-ins left out of this log]\"}, \"project\": {\"brief\": {\"briefId\": \"brief_eval\", \"durationBars\": 96, \"genre\": \"tech house\", \"intent\": \"continue\", \"key\": {\"mode\": \"minor\", \"root\": \"A\"}, \"motifs\": [{\"bars\": 8, \"clipId\": \"clip_eval_hook\", \"fingerprint\": \"sha256:f52129be6d10f0f13ec38f516cb37cd19fed6caf0af2f2b5a90ad290e3e1b588\", \"label\": \"Owner hook (synthetic fixture)\", \"motifId\": \"mtf_1\", \"noteCount\": 24, \"trackId\": \"trk_eval_hook\"}], \"preserve\": {\"motifIds\": [\"mtf_1\"]}, \"roles\": [{\"motifId\": \"mtf_1\", \"role\": \"hook\", \"trackId\": \"trk_eval_hook\"}, {\"role\": \"drums\", \"trackId\": \"trk_DYZKGNV4XN3TQKCST88D32H8MY\"}, {\"role\": \"bass\", \"trackId\": \"trk_TPNNFY29K5PPKMDXP8YHCWM1YN\"}, {\"role\": \"pad\", \"trackId\": \"trk_5XZ1Y1VM56S5690XTH52Y721GP\"}]}, \"crossfades\": 1, \"pdcVersion\": 1, \"projectId\": \"prj_01M869CJFZZN0Y8KDE8YJY7QJ6\", \"routing\": [{\"from\": \"trk_eval_hook\", \"to\": \"bus_master\"}, {\"from\": \"trk_DYZKGNV4XN3TQKCST88D32H8MY\", \"to\": \"bus_master\"}, {\"from\": \"trk_TPNNFY29K5PPKMDXP8YHCWM1YN\", \"to\": \"bus_master\"}, {\"from\": \"trk_5XZ1Y1VM56S5690XTH52Y721GP\", \"to\": \"bus_master\"}], \"sampleRate\": 48000, \"schemaVersion\": 1, \"sections\": [{\"energy\": 2, \"lengthBeats\": 32, \"name\": \"Intro\", \"role\": \"intro\", \"sectionId\": \"sec_5HMSFNPT3JXGW8HAA0CXV1YGWM\", \"startBeat\": 0}, {\"energy\": 5, \"lengthBeats\": 64, \"name\": \"Groove\", \"role\": \"groove\", \"sectionId\": \"sec_9161FYRDK6JBR4XZE0BQ6WH6SR\", \"startBeat\": 32}, {\"ener ... [15280 more characters]"
    },
    {
     "n": 3,
     "tool": "monody:get_composition",
     "input": {},
     "failed": false,
     "resultCharacters": 3864,
     "result": "{\"beatsPerBar\":4,\"brief\":{\"briefId\":\"brief_eval\",\"durationBars\":96,\"genre\":\"tech house\",\"intent\":\"continue\",\"key\":{\"mode\":\"minor\",\"root\":\"A\"},\"motifStatus\":[{\"bars\":8,\"clipId\":\"clip_eval_hook\",\"currentTrackId\":\"trk_eval_hook\",\"label\":\"Owner hook (synthetic fixture)\",\"motifId\":\"mtf_1\",\"noteCount\":24,\"preserved\":true,\"status\":\"current\",\"trackBinding\":\"bound\",\"trackId\":\"trk_eval_hook\"}],\"motifs\":[{\"bars\":8,\"clipId\":\"clip_eval_hook\",\"fingerprint\":\"sha256:f52129be6d10f0f13ec38f516cb37cd19fed6caf0af2f2b5a90ad290e3e1b588\",\"label\":\"Owner hook (synthetic fixture)\",\"motifId\":\"mtf_1\",\"noteCount\":24,\"trackId\":\"trk_eval_hook\"}],\"preserve\":{\"motifIds\":[\"mtf_1\"]},\"resolved\":{\"bars\":96,\"beats\":384,\"exact\":true,\"seconds\":180},\"roles\":[{\"motifId\":\"mtf_1\",\"role\":\"hook\",\"trackId\":\"trk_eval_hook\"},{\"role\":\"drums\",\"trackId\":\"trk_DYZKGNV4XN3TQKCST88D32H8MY\"},{\"role\":\"bass\",\"trackId\":\"trk_TPNNFY29K5PPKMDXP8YHCWM1YN\"},{\"role\":\"pad\",\"trackId\":\"trk_5XZ1Y1VM56S5690XTH52Y721GP\"}]},\"generation\":\"7298468d884572ca:1\",\"markers\":[],\"meter\":\"4/4\",\"meterMap\":[{\"bar\":1,\"beat\":0,\"beatsPerBar\":4,\"den\":4,\"num\":4,\"signature\":\"4/4\"}],\"ok\":true,\"phraseRoles\":[{\"density\":0.3,\"id\":\"sub\",\"maxNotesPerBar\":4,\"mono\":true,\"register\":{\"high\":47,\"low\":24}},{\"density\":0.5,\"id\":\"bass\",\"maxNotesPerBar\":12,\"mono\":true,\"register\":{\"high\":55,\"low\":28}},{\"density\":0.6,\"id\":\"acid\",\"maxNotesPerBar\":16,\"mono\":true,\"register\":{\"high\":65,\"low\":33}},{\"density\":0.5,\"id\":\"pluck\",\"maxNotesPerBar\":16,\"mono\":true,\"register\":{\"high\":84,\"low\":48}},{\"density\":0.5,\"id\":\"stab\",\"maxNotesPerBar\":16,\"mono\":false,\"register\":{\"high\":79,\"low\":48}},{\"density\":0.5,\"id\":\"chords\",\"maxNotesPerBar\":16,\"mono\":false,\"register\":{\"high\":79,\"low\":48}},{\"density\":0.5,\"id\":\"lead\",\"maxNotesPerBar\":12,\"mono\":true,\"register\":{\"high\":96,\"low\":60}},{\"density\":0.45,\"id\":\"hook\",\"maxNotesPerBar\":12,\"mono\":true,\"register\":{\"high\":91,\"low\":60}},{\"density\":0.5,\"id\":\"pad\",\"maxNotesPerBar\":16,\"mono\":false,\"register\":{\"high\":84,\"low\":48}},{\"density\":0.3,\"id\":\"texture\",\"ma ... [1864 more characters]"
    },
    {
     "n": 4,
     "tool": "monody:analyze_mix",
     "input": {
      "target": "streaming"
     },
     "failed": false,
     "resultCharacters": 1357,
     "result": "{\"masking\":[],\"ok\":true,\"score\":80,\"summary\":\"Target: Streaming (Spotify, YouTube, Tidal) (−14.0 LUFS, −1.0 dBTP)\\nLength: 181 s, 96 bars. Readiness score 80/100.\\nMaster: −16.1 LUFS integrated, short-term max −13.9, LRA 6.0 LU, true peak −2.0 dBTP, PLR 14.1 dB, correlation 0.79, low-end correlation 0.99, tilt −6.0 dB/oct (balanced ~ -4.5).\\nBands (dB): 20–40 Hz −26.8 40–80 Hz −19.3 80–160 Hz −27.6 160–315 Hz −26.2 315–630 Hz −32.0 630–1.25k Hz −39.4 1.25k–2.5k Hz −40.9 2.5k–5k Hz −40.9 5k–10k Hz −42.3 10k–20k Hz −40.8\\nTracks:\\n- Hook [trk_eval_hook] −34.7 LUFS, peak −25.0 dBFS, 1% of mix, mostly low mids\\n- Drums [trk_DYZKGNV4XN3TQKCST88D32H8MY] −26.4 LUFS, peak −8.9 dBFS, 10% of mix, mostly upper bass\\n- Bass [trk_TPNNFY29K5PPKMDXP8YHCWM1YN] −17.9 LUFS, peak −11.6 dBFS, 52% of mix, mostly sub\\n- Pad [trk_5XZ1Y1VM56S5690XTH52Y721GP] −20.4 LUFS, peak −5.8 dBFS, 37% of mix, mostly upper bass\\nSections: intro bars 1–8 (−28.0 LUFS, 2 tracks); peak bars 9–48 (−15.6 LUFS, 4 tracks); build bars 49–56 (−19.2 LUFS, 4 tracks); peak bars 57–83 (−15.5 LUFS, 4 tracks); peak bars 84–88 (−15.8 LUFS, 4 tracks); outro bars 89–96 (−19.6 LUFS, 2 tracks);\\nFindings:\\n- [fix] Too quiet for Streaming (Spotify, YouTube, Tidal): Integrated loudness is −16.1 LUFS; the target is −14.0 LUFS (2.1 LU short). Master to target adds a limiter and sets the gain.\\n\"}"
    },
    {
     "n": 5,
     "tool": "monody:analyze_range",
     "input": {
      "fromBeat": 256,
      "toBeat": 352,
      "prerollBars": 2,
      "tailSeconds": 0
     },
     "failed": false,
     "resultCharacters": 2401,
     "result": "{\"algorithm\":\"monody.range/1\",\"cache\":{\"hit\":false,\"key\":\"c5f4896f00a9d6b236e1601e1bd96cbfeb402afe9d8938be0c7a0500db1e9cd1\",\"modelHash\":\"63c05d793c03ac0e\",\"revision\":1},\"healthy\":true,\"judgement\":\"technical numbers only: a loud, clean, balanced range is not thereby good music\",\"mix\":{\"lufs\":-15.8,\"momentaryMaxLufs\":-12.8,\"samplePeakDb\":-1.38,\"silent\":false,\"truePeakDb\":-1.27},\"ok\":true,\"policy\":{\"exactness\":\"an offline render of a private copy, started cold 8 beat(s) before the range and not measured until the range begins: what an effect remembers from before that point is NOT replicated, so live playback from earlier in the song can differ\",\"latency\":\"every track's output is placed by its own plug-in delay (PDC), as in an export\",\"prerollBars\":2,\"prerollBeatsRendered\":8,\"sources\":\"audio files are checked by size and modification time when the request begins, after the render and before a cached answer is served; an in-place rewrite that keeps both is not detected\",\"tail\":\"the tail after the range is rendered and measured separately (reverb / release); it is never mixed into the range's numbers\",\"tailSeconds\":0},\"range\":{\"bars\":24,\"fromBeat\":256,\"meter\":\"4/4\",\"seconds\":45,\"startBar\":65,\"toBeat\":352},\"resourceErrors\":[],\"tail\":{\"lufsUngated\":-200,\"peakDb\":-200,\"seconds\":0},\"timing\":{\"analysisMs\":0,\"peakRssBytesAfter\":153288704,\"peakRssBytesBefore\":131956736,\"renderMs\":1784,\"renderedSeconds\":48.75,\"servedFromCache\":false,\"totalMs\":1805},\"tracks\":[{\"activeFraction\":0.94,\"faderAtFloor\":false,\"kind\":\"midi\",\"lufsUngated\":-34.76,\"name\":\"Hook\",\"notesInRange\":71,\"notesSoundingInRange\":71,\"notesStartingInRange\":71,\"peakDb\":-25.03,\"trackId\":\"trk_eval_hook\",\"volumeDb\":-12},{\"activeFraction\":0.97,\"faderAtFloor\":false,\"kind\":\"midi\",\"lufsUngated\":-25.64,\"name\":\"Drums\",\"notesInRange\":565,\"notesSoundingInRange\":565,\"notesStartingInRange\":565,\"peakDb\":-8.91,\"trackId\":\"trk_DYZKGNV4XN3TQKCST88D32H8MY\",\"volumeDb\":0},{\"activeFraction\":0.86,\"faderAtFloor\":false,\"kind\":\"midi\",\"lufsUngated ... [401 more characters]"
    },
    {
     "n": 6,
     "tool": "monody:analyze_range",
     "input": {
      "fromBeat": 0,
      "toBeat": 32,
      "prerollBars": 2,
      "tailSeconds": 0
     },
     "failed": false,
     "resultCharacters": 2371,
     "result": "{\"algorithm\":\"monody.range/1\",\"cache\":{\"hit\":false,\"key\":\"9dfbf0fc899dc7f013fcc2a0590b8a85b349c756f899391dee476f5f1c0ac3f1\",\"modelHash\":\"63c05d793c03ac0e\",\"revision\":1},\"healthy\":true,\"judgement\":\"technical numbers only: a loud, clean, balanced range is not thereby good music\",\"mix\":{\"lufs\":-28,\"momentaryMaxLufs\":-26.74,\"samplePeakDb\":-11.26,\"silent\":false,\"truePeakDb\":-11.22},\"ok\":true,\"policy\":{\"exactness\":\"an offline render of a private copy, started cold 0 beat(s) before the range and not measured until the range begins: what an effect remembers from before that point is NOT replicated, so live playback from earlier in the song can differ\",\"latency\":\"every track's output is placed by its own plug-in delay (PDC), as in an export\",\"prerollBars\":2,\"prerollBeatsRendered\":0,\"sources\":\"audio files are checked by size and modification time when the request begins, after the render and before a cached answer is served; an in-place rewrite that keeps both is not detected\",\"tail\":\"the tail after the range is rendered and measured separately (reverb / release); it is never mixed into the range's numbers\",\"tailSeconds\":0},\"range\":{\"bars\":8,\"fromBeat\":0,\"meter\":\"4/4\",\"seconds\":15,\"startBar\":1,\"toBeat\":32},\"resourceErrors\":[],\"tail\":{\"lufsUngated\":-200,\"peakDb\":-200,\"seconds\":0},\"timing\":{\"analysisMs\":0,\"peakRssBytesAfter\":161071104,\"peakRssBytesBefore\":153288704,\"renderMs\":354,\"renderedSeconds\":15,\"servedFromCache\":false,\"totalMs\":361},\"tracks\":[{\"activeFraction\":0.95,\"faderAtFloor\":false,\"kind\":\"midi\",\"lufsUngated\":-34.74,\"name\":\"Hook\",\"notesInRange\":24,\"notesSoundingInRange\":24,\"notesStartingInRange\":24,\"peakDb\":-25.61,\"trackId\":\"trk_eval_hook\",\"volumeDb\":-12},{\"activeFraction\":0.73,\"faderAtFloor\":false,\"kind\":\"midi\",\"lufsUngated\":-29.03,\"name\":\"Drums\",\"notesInRange\":92,\"notesSoundingInRange\":92,\"notesStartingInRange\":92,\"peakDb\":-11.63,\"trackId\":\"trk_DYZKGNV4XN3TQKCST88D32H8MY\",\"volumeDb\":0},{\"activeFraction\":0,\"faderAtFloor\":false,\"kind\":\"midi\",\"lufsUngated\":-200,\"name\": ... [371 more characters]"
    }
   ],
   "reply": "I checked the song against monody's **streaming** preset (−14 LUFS integrated, −1 dBTP true peak), since you said it's for streaming and didn't give your own numbers. That's monody's starting target, not any platform's rule. Nothing in the project was changed.\n\n## The song is 2.1 LU too quiet; the true peak is fine\n\n| Measure | Now | Target | Gap |\n|---|---|---|---|\n| Integrated loudness | −16.1 LUFS | −14.0 LUFS | **+2.1 LU** (needs gain) |\n| True peak | −2.0 dBTP | −1.0 dBTP | 1.0 dB of room |\n| Short-term max | −13.9 LUFS | — | — |\n| Loudness range (LRA) | 6.0 LU | — | — |\n| PLR (peak-to-loudness) | 14.1 dB | — | — |\n\nThe master bus is empty: no limiter or trim on it yet.\n\n## What sets the level\n\n- **Loudest section:** Drop 2, bars 65–88, measures −15.8 LUFS with a momentary max of −12.8 LUFS. Its true peak in a separate render was −1.27 dBTP. The −2.0 dBTP from the full-song render is the figure that counts for export.\n- **Intro (bars 1–8):** −28.0 LUFS, about 12 LU below the drop. Only the drums and hook play there, so that's normal for an intro, not a fault.\n- **Biggest track share:** Bass has **52 %** of the mix (−17.9 LUFS, fader at +6 dB, mostly sub). Pad has 37 %, Drums 10 %, Hook 1 %.\n- **Highest track peak:** Pad at −5.8 dBFS. No track goes above 0 dBFS, so nothing clips before the master.\n\n## What to change, in order\n\n1. **A quick mix check on the Bass (optional).** At 52 % of the mix, the bass is what the master limiter will mostly react to. You might want to look at its level before mastering.\n   Two other things I noticed on the Pad, which aren't loudness problems:\n   - Its last device is an EQ boosting **+10 dB at 250 Hz**, placed *after* its limiter. The limiter therefore doesn't catch the boost.\n   - Its pan is set to −1, fully left.\n\n   If both are intentional, ignore this.\n2. **Run `master_to_target` with the streaming target.** It's one undoable step that adds about **+2.1 dB of gain** and a true-peak limiter. The limiter will need to hold down about **1.1 dB** of peaks (−2.0 + 2.1 − (−1.0)), which is a light amount. I'd check its measured result before trusting it.\n3. **Then export.**\n\n## What I didn't check\n\nI didn't listen to the song: all these numbers come from offline renders. I also didn't check the tonal balance (tilt is −6.0 dB/oct, a bit darker than the ~−4.5 reference) or the stereo image beyond the correlation readings (0.79 overall, 0.99 in the low end). How loud the song should be is up to you.\n\nShould I run `master_to_target` for streaming now, or would you like to look at the bass level first?",
   "turns": 8,
   "isError": false,
   "run": "loudness-r2"
  },
  {
   "what": "One Claude Code run of the checking-loudness skill on monody 0.9.8 over MCP, 28 November 2026. claude -p from an empty folder holding only the skill, with only monody's MCP server attached and no other Claude Code tools than Skill. The song: a 96-bar tech house rough mix with five planted faults (the one in /blog/can-claude-mix-and-master).",
   "request": "I'm about to export the song I have open in monody for streaming. Check the loudness first.",
   "model": "claude-opus-5-5",
   "claudeCodeVersion": "2.1.322",
   "tools": [
    "Skill",
    "mcp__monody__action_history",
    "mcp__monody__analyze_mix",
    "mcp__monody__analyze_range",
    "mcp__monody__apply_sound_preset",
    "mcp__monody__audition_sounds",
    "mcp__monody__chain_presets",
    "mcp__monody__compare_kits",
    "mcp__monody__compose_preflight",
    "mcp__monody__convert_to_midi",
    "mcp__monody__describe_library_sound",
    "mcp__monody__describe_plugin",
    "mcp__monody__detect_tempo",
    "mcp__monody__find_sounds",
    "mcp__monody__freeze_track",
    "mcp__monody__fx_chain",
    "mcp__monody__get_composition",
    "mcp__monody__get_project",
    "mcp__monody__get_reference",
    "mcp__monody__get_selection",
    "mcp__monody__groove_pool",
    "mcp__monody__list_library_kits",
    "mcp__monody__master_to_target",
    "mcp__monody__mix_relation",
    "mcp__monody__redo",
    "mcp__monody__relink_sources",
    "mcp__monody__render_wav",
    "mcp__monody__run_commands",
    "mcp__monody__search_library",
    "mcp__monody__search_plugin_presets",
    "mcp__monody__search_plugins",
    "mcp__monody__search_sounds",
    "mcp__monody__separate_stems",
    "mcp__monody__session",
    "mcp__monody__slice_source",
    "mcp__monody__song_job",
    "mcp__monody__song_reviews",
    "mcp__monody__song_variants",
    "mcp__monody__song_verify",
    "mcp__monody__transport",
    "mcp__monody__undo",
    "mcp__monody__warp_clip"
   ],
   "secondsToReply": 50.2,
   "projectBefore": "rev 1 | actions 2",
   "projectAfter": "rev 1 | actions 2",
   "skill": "---\nname: checking-loudness\ndescription: Checks a monody song's loudness before export, from integrated LUFS and true peak against a delivery target to what sets the level and what to change. Use before exporting, mastering or uploading.\nlicense: MIT\n---\n\n# Checking loudness before export\n\nRead and measure only. Do not run `master_to_target` or change the master bus in this check: say what it would take.\n\n## 1. The target\n\n- Use the target the producer names: their LUFS and true-peak numbers, or a platform's published figures if they give them.\n- Otherwise use monody's preset closest to where the song goes, and say you chose it: `streaming` (-14 LUFS, -1 dBTP), `apple` (-16, -1), `club` (-9, -0.5). Any other pair is `{\"target\": \"custom\", \"lufs\": ..., \"truePeak\": ...}`. These are monody's starting targets, not a platform's rules.\n\n## 2. Read\n\n- `monody:get_project`: the master bus is `project.master` (`chain`; no `master` key means it is empty). Note any limiter, maximizer or trim already there and its ceiling; a device with origin `master` was put there by `master_to_target`, which replaces only its own devices. Note each track's `volumeDb` and the last device of its chain.\n- `monody:get_composition` for the sections and their beats.\n\n## 3. Measure\n\n- `monody:analyze_mix` with the target: integrated LUFS, short-term max, loudness range (LRA), true peak, PLR, each track's peak and share, each section's LUFS, and the findings.\n- `monody:analyze_range` `{\"fromBeat\": ..., \"toBeat\": ..., \"prerollBars\": 2, \"tailSeconds\": 0}` for the loudest section and for the first section: their mix LUFS, momentary max and true peak.\n\n## 4. Work out what to change\n\n- Gap = target LUFS - integrated LUFS. Positive: the song needs that much gain. Negative: it needs that much trim.\n- Limiting needed = true peak + gap - ceiling, when positive: how many dB of peaks a limiter must hold down to reach the target. Give it as a number.\n- True peak above the ceiling already: a fix whatever the loudness.\n- A track whose peak is above 0 dBFS: it clips before the master. Fix it on the track.\n- A track with 50 % or more of the share: the limiter will mostly react to that track. Say the mix may want a look first (a mix check).\n- A limiter already on the master with a ceiling above the target's true peak, or a second limiter after it: name it.\n- A first section much quieter than the loudest one is normal in an intro; report the difference, do not call it a fault.\n\nWhat to change, in order: track fixes (clipping, a dominant track), then `monody:master_to_target` with the target as one undoable step (read its measured result before trusting it), then export.\n\n## 5. Report\n\n1. The target and why it was chosen.\n2. A table: Measure | Now | Target | Gap, for integrated LUFS, true peak, short-term max, LRA and PLR.\n3. What sets the level: the loudest section with its bars, the track with the largest share, the highest peaks.\n4. What to change, in order, each with its number.\n5. What you did not check.\n\nLoudness numbers describe the render; you did not listen. Whether the song should be that loud is the producer's call.\n",
   "toolCalls": [
    {
     "n": 1,
     "tool": "Skill",
     "input": {
      "skill": "checking-loudness"
     },
     "failed": false,
     "resultCharacters": 34,
     "result": "Launching skill: checking-loudness"
    },
    {
     "n": 2,
     "tool": "monody:get_project",
     "input": {},
     "failed": false,
     "resultCharacters": 18251,
     "result": "{\"durationSeconds\": 180, \"endBeat\": 384, \"loop\": {\"endBeat\": 0, \"on\": false, \"startBeat\": 0}, \"overview\": {\"fullCharacters\": 298393, \"leftOut\": \"each track's clips (counted, with the beats they start between), take-lane clips, slot clip contents, sources' usedBy\", \"readWith\": \"get_project {trackIds:[...]} for whole tracks, {clipIds:[...]} for clips\"}, \"playheadBeat\": 0, \"playing\": false, \"plugins\": {\"catalog\": {\"formats\": {\"au\": 26, \"clap\": 1, \"vst3\": 1}, \"installed\": 28, \"readWith\": \"search_plugins / describe_plugin\", \"version\": \"b872b53666b44704\"}, \"inProject\": {}, \"installed\": \"[28 installed plug-ins left out of this log]\"}, \"project\": {\"brief\": {\"briefId\": \"brief_eval\", \"durationBars\": 96, \"genre\": \"tech house\", \"intent\": \"continue\", \"key\": {\"mode\": \"minor\", \"root\": \"A\"}, \"motifs\": [{\"bars\": 8, \"clipId\": \"clip_eval_hook\", \"fingerprint\": \"sha256:f52129be6d10f0f13ec38f516cb37cd19fed6caf0af2f2b5a90ad290e3e1b588\", \"label\": \"Owner hook (synthetic fixture)\", \"motifId\": \"mtf_1\", \"noteCount\": 24, \"trackId\": \"trk_eval_hook\"}], \"preserve\": {\"motifIds\": [\"mtf_1\"]}, \"roles\": [{\"motifId\": \"mtf_1\", \"role\": \"hook\", \"trackId\": \"trk_eval_hook\"}, {\"role\": \"drums\", \"trackId\": \"trk_DYZKGNV4XN3TQKCST88D32H8MY\"}, {\"role\": \"bass\", \"trackId\": \"trk_TPNNFY29K5PPKMDXP8YHCWM1YN\"}, {\"role\": \"pad\", \"trackId\": \"trk_5XZ1Y1VM56S5690XTH52Y721GP\"}]}, \"crossfades\": 1, \"pdcVersion\": 1, \"projectId\": \"prj_01M869CJFZZN0Y8KDE8YJY7QJ6\", \"routing\": [{\"from\": \"trk_eval_hook\", \"to\": \"bus_master\"}, {\"from\": \"trk_DYZKGNV4XN3TQKCST88D32H8MY\", \"to\": \"bus_master\"}, {\"from\": \"trk_TPNNFY29K5PPKMDXP8YHCWM1YN\", \"to\": \"bus_master\"}, {\"from\": \"trk_5XZ1Y1VM56S5690XTH52Y721GP\", \"to\": \"bus_master\"}], \"sampleRate\": 48000, \"schemaVersion\": 1, \"sections\": [{\"energy\": 2, \"lengthBeats\": 32, \"name\": \"Intro\", \"role\": \"intro\", \"sectionId\": \"sec_5HMSFNPT3JXGW8HAA0CXV1YGWM\", \"startBeat\": 0}, {\"energy\": 5, \"lengthBeats\": 64, \"name\": \"Groove\", \"role\": \"groove\", \"sectionId\": \"sec_9161FYRDK6JBR4XZE0BQ6WH6SR\", \"startBeat\": 32}, {\"ener ... [15280 more characters]"
    },
    {
     "n": 3,
     "tool": "monody:get_composition",
     "input": {},
     "failed": false,
     "resultCharacters": 3864,
     "result": "{\"beatsPerBar\":4,\"brief\":{\"briefId\":\"brief_eval\",\"durationBars\":96,\"genre\":\"tech house\",\"intent\":\"continue\",\"key\":{\"mode\":\"minor\",\"root\":\"A\"},\"motifStatus\":[{\"bars\":8,\"clipId\":\"clip_eval_hook\",\"currentTrackId\":\"trk_eval_hook\",\"label\":\"Owner hook (synthetic fixture)\",\"motifId\":\"mtf_1\",\"noteCount\":24,\"preserved\":true,\"status\":\"current\",\"trackBinding\":\"bound\",\"trackId\":\"trk_eval_hook\"}],\"motifs\":[{\"bars\":8,\"clipId\":\"clip_eval_hook\",\"fingerprint\":\"sha256:f52129be6d10f0f13ec38f516cb37cd19fed6caf0af2f2b5a90ad290e3e1b588\",\"label\":\"Owner hook (synthetic fixture)\",\"motifId\":\"mtf_1\",\"noteCount\":24,\"trackId\":\"trk_eval_hook\"}],\"preserve\":{\"motifIds\":[\"mtf_1\"]},\"resolved\":{\"bars\":96,\"beats\":384,\"exact\":true,\"seconds\":180},\"roles\":[{\"motifId\":\"mtf_1\",\"role\":\"hook\",\"trackId\":\"trk_eval_hook\"},{\"role\":\"drums\",\"trackId\":\"trk_DYZKGNV4XN3TQKCST88D32H8MY\"},{\"role\":\"bass\",\"trackId\":\"trk_TPNNFY29K5PPKMDXP8YHCWM1YN\"},{\"role\":\"pad\",\"trackId\":\"trk_5XZ1Y1VM56S5690XTH52Y721GP\"}]},\"generation\":\"cbc0f8c411685495:1\",\"markers\":[],\"meter\":\"4/4\",\"meterMap\":[{\"bar\":1,\"beat\":0,\"beatsPerBar\":4,\"den\":4,\"num\":4,\"signature\":\"4/4\"}],\"ok\":true,\"phraseRoles\":[{\"density\":0.3,\"id\":\"sub\",\"maxNotesPerBar\":4,\"mono\":true,\"register\":{\"high\":47,\"low\":24}},{\"density\":0.5,\"id\":\"bass\",\"maxNotesPerBar\":12,\"mono\":true,\"register\":{\"high\":55,\"low\":28}},{\"density\":0.6,\"id\":\"acid\",\"maxNotesPerBar\":16,\"mono\":true,\"register\":{\"high\":65,\"low\":33}},{\"density\":0.5,\"id\":\"pluck\",\"maxNotesPerBar\":16,\"mono\":true,\"register\":{\"high\":84,\"low\":48}},{\"density\":0.5,\"id\":\"stab\",\"maxNotesPerBar\":16,\"mono\":false,\"register\":{\"high\":79,\"low\":48}},{\"density\":0.5,\"id\":\"chords\",\"maxNotesPerBar\":16,\"mono\":false,\"register\":{\"high\":79,\"low\":48}},{\"density\":0.5,\"id\":\"lead\",\"maxNotesPerBar\":12,\"mono\":true,\"register\":{\"high\":96,\"low\":60}},{\"density\":0.45,\"id\":\"hook\",\"maxNotesPerBar\":12,\"mono\":true,\"register\":{\"high\":91,\"low\":60}},{\"density\":0.5,\"id\":\"pad\",\"maxNotesPerBar\":16,\"mono\":false,\"register\":{\"high\":84,\"low\":48}},{\"density\":0.3,\"id\":\"texture\",\"ma ... [1864 more characters]"
    },
    {
     "n": 4,
     "tool": "monody:analyze_mix",
     "input": {
      "target": "streaming"
     },
     "failed": false,
     "resultCharacters": 1357,
     "result": "{\"masking\":[],\"ok\":true,\"score\":80,\"summary\":\"Target: Streaming (Spotify, YouTube, Tidal) (−14.0 LUFS, −1.0 dBTP)\\nLength: 181 s, 96 bars. Readiness score 80/100.\\nMaster: −16.1 LUFS integrated, short-term max −13.9, LRA 6.0 LU, true peak −2.0 dBTP, PLR 14.1 dB, correlation 0.79, low-end correlation 0.99, tilt −6.0 dB/oct (balanced ~ -4.5).\\nBands (dB): 20–40 Hz −26.8 40–80 Hz −19.3 80–160 Hz −27.6 160–315 Hz −26.2 315–630 Hz −32.0 630–1.25k Hz −39.4 1.25k–2.5k Hz −40.9 2.5k–5k Hz −40.9 5k–10k Hz −42.3 10k–20k Hz −40.8\\nTracks:\\n- Hook [trk_eval_hook] −34.7 LUFS, peak −25.0 dBFS, 1% of mix, mostly low mids\\n- Drums [trk_DYZKGNV4XN3TQKCST88D32H8MY] −26.4 LUFS, peak −8.9 dBFS, 10% of mix, mostly upper bass\\n- Bass [trk_TPNNFY29K5PPKMDXP8YHCWM1YN] −17.9 LUFS, peak −11.6 dBFS, 52% of mix, mostly sub\\n- Pad [trk_5XZ1Y1VM56S5690XTH52Y721GP] −20.4 LUFS, peak −5.8 dBFS, 37% of mix, mostly upper bass\\nSections: intro bars 1–8 (−28.0 LUFS, 2 tracks); peak bars 9–48 (−15.6 LUFS, 4 tracks); build bars 49–56 (−19.2 LUFS, 4 tracks); peak bars 57–83 (−15.5 LUFS, 4 tracks); peak bars 84–88 (−15.8 LUFS, 4 tracks); outro bars 89–96 (−19.6 LUFS, 2 tracks);\\nFindings:\\n- [fix] Too quiet for Streaming (Spotify, YouTube, Tidal): Integrated loudness is −16.1 LUFS; the target is −14.0 LUFS (2.1 LU short). Master to target adds a limiter and sets the gain.\\n\"}"
    },
    {
     "n": 5,
     "tool": "monody:analyze_range",
     "input": {
      "fromBeat": 256,
      "toBeat": 352,
      "prerollBars": 2,
      "tailSeconds": 0
     },
     "failed": false,
     "resultCharacters": 2401,
     "result": "{\"algorithm\":\"monody.range/1\",\"cache\":{\"hit\":false,\"key\":\"aa42a60145fda2f4161b6234643dc1f139a6b4b78ffdd51ed1c43270e99bca03\",\"modelHash\":\"63c05d793c03ac0e\",\"revision\":1},\"healthy\":true,\"judgement\":\"technical numbers only: a loud, clean, balanced range is not thereby good music\",\"mix\":{\"lufs\":-15.8,\"momentaryMaxLufs\":-12.8,\"samplePeakDb\":-1.38,\"silent\":false,\"truePeakDb\":-1.27},\"ok\":true,\"policy\":{\"exactness\":\"an offline render of a private copy, started cold 8 beat(s) before the range and not measured until the range begins: what an effect remembers from before that point is NOT replicated, so live playback from earlier in the song can differ\",\"latency\":\"every track's output is placed by its own plug-in delay (PDC), as in an export\",\"prerollBars\":2,\"prerollBeatsRendered\":8,\"sources\":\"audio files are checked by size and modification time when the request begins, after the render and before a cached answer is served; an in-place rewrite that keeps both is not detected\",\"tail\":\"the tail after the range is rendered and measured separately (reverb / release); it is never mixed into the range's numbers\",\"tailSeconds\":0},\"range\":{\"bars\":24,\"fromBeat\":256,\"meter\":\"4/4\",\"seconds\":45,\"startBar\":65,\"toBeat\":352},\"resourceErrors\":[],\"tail\":{\"lufsUngated\":-200,\"peakDb\":-200,\"seconds\":0},\"timing\":{\"analysisMs\":0,\"peakRssBytesAfter\":138149888,\"peakRssBytesBefore\":138149888,\"renderMs\":5069,\"renderedSeconds\":48.75,\"servedFromCache\":false,\"totalMs\":5081},\"tracks\":[{\"activeFraction\":0.94,\"faderAtFloor\":false,\"kind\":\"midi\",\"lufsUngated\":-34.76,\"name\":\"Hook\",\"notesInRange\":71,\"notesSoundingInRange\":71,\"notesStartingInRange\":71,\"peakDb\":-25.03,\"trackId\":\"trk_eval_hook\",\"volumeDb\":-12},{\"activeFraction\":0.97,\"faderAtFloor\":false,\"kind\":\"midi\",\"lufsUngated\":-25.64,\"name\":\"Drums\",\"notesInRange\":565,\"notesSoundingInRange\":565,\"notesStartingInRange\":565,\"peakDb\":-8.91,\"trackId\":\"trk_DYZKGNV4XN3TQKCST88D32H8MY\",\"volumeDb\":0},{\"activeFraction\":0.86,\"faderAtFloor\":false,\"kind\":\"midi\",\"lufsUngated ... [401 more characters]"
    },
    {
     "n": 6,
     "tool": "monody:analyze_range",
     "input": {
      "fromBeat": 0,
      "toBeat": 32,
      "prerollBars": 2,
      "tailSeconds": 0
     },
     "failed": false,
     "resultCharacters": 2371,
     "result": "{\"algorithm\":\"monody.range/1\",\"cache\":{\"hit\":false,\"key\":\"42e4cd2c2a8be506829e4f43fdb8158d55cb05bc15fdbe05592c2619f1890935\",\"modelHash\":\"63c05d793c03ac0e\",\"revision\":1},\"healthy\":true,\"judgement\":\"technical numbers only: a loud, clean, balanced range is not thereby good music\",\"mix\":{\"lufs\":-28,\"momentaryMaxLufs\":-26.74,\"samplePeakDb\":-11.26,\"silent\":false,\"truePeakDb\":-11.22},\"ok\":true,\"policy\":{\"exactness\":\"an offline render of a private copy, started cold 0 beat(s) before the range and not measured until the range begins: what an effect remembers from before that point is NOT replicated, so live playback from earlier in the song can differ\",\"latency\":\"every track's output is placed by its own plug-in delay (PDC), as in an export\",\"prerollBars\":2,\"prerollBeatsRendered\":0,\"sources\":\"audio files are checked by size and modification time when the request begins, after the render and before a cached answer is served; an in-place rewrite that keeps both is not detected\",\"tail\":\"the tail after the range is rendered and measured separately (reverb / release); it is never mixed into the range's numbers\",\"tailSeconds\":0},\"range\":{\"bars\":8,\"fromBeat\":0,\"meter\":\"4/4\",\"seconds\":15,\"startBar\":1,\"toBeat\":32},\"resourceErrors\":[],\"tail\":{\"lufsUngated\":-200,\"peakDb\":-200,\"seconds\":0},\"timing\":{\"analysisMs\":0,\"peakRssBytesAfter\":138149888,\"peakRssBytesBefore\":138149888,\"renderMs\":943,\"renderedSeconds\":15,\"servedFromCache\":false,\"totalMs\":966},\"tracks\":[{\"activeFraction\":0.95,\"faderAtFloor\":false,\"kind\":\"midi\",\"lufsUngated\":-34.74,\"name\":\"Hook\",\"notesInRange\":24,\"notesSoundingInRange\":24,\"notesStartingInRange\":24,\"peakDb\":-25.61,\"trackId\":\"trk_eval_hook\",\"volumeDb\":-12},{\"activeFraction\":0.73,\"faderAtFloor\":false,\"kind\":\"midi\",\"lufsUngated\":-29.03,\"name\":\"Drums\",\"notesInRange\":92,\"notesSoundingInRange\":92,\"notesStartingInRange\":92,\"peakDb\":-11.63,\"trackId\":\"trk_DYZKGNV4XN3TQKCST88D32H8MY\",\"volumeDb\":0},{\"activeFraction\":0,\"faderAtFloor\":false,\"kind\":\"midi\",\"lufsUngated\":-200,\"name\": ... [371 more characters]"
    }
   ],
   "reply": "I measured the song against a streaming target. It's **2.1 LU too quiet**, but nothing clips, so it's safe to export as it is. I haven't changed anything.\n\n## 1. Target\nYou didn't name a platform, so I used monody's `streaming` preset: **−14 LUFS integrated, −1 dBTP true peak**. That's monody's starting point, not any one platform's rule.\n\n## 2. Measurements\n\n| Measure | Now | Target | Gap |\n|---|---|---|---|\n| Integrated loudness | −16.1 LUFS | −14.0 LUFS | **+2.1 LU** (needs gain) |\n| True peak (whole song) | −2.0 dBTP | −1.0 dBTP | 1.0 dB under the ceiling |\n| Short-term max | −13.9 LUFS | — | — |\n| Loudness range (LRA) | 6.0 LU | — | — |\n| PLR (peak to loudness) | 14.1 dB | — | — |\n\nThe master bus has nothing on it: no limiter or trim.\n\n## 3. What sets the level\n- **Loudest section: Drop 2 (bars 65–88):** −15.8 LUFS, momentary max −12.8 LUFS, true peak **−1.27 dBTP**. That peak is above the −2.0 the whole-song pass reported. The section was measured on its own render, started cold 2 bars early, so I'd trust the higher number.\n- **First section: Intro (bars 1–8):** −28.0 LUFS, true peak −11.2 dBTP. That's 12.2 LU quieter than Drop 2. Only drums and the hook play there, which is normal for an intro.\n- **Largest share: Bass, 52% of the mix** (−17.9 LUFS, mostly sub). The Pad is 37%, Drums 10% and the Hook 1%.\n- **Highest track peak: Pad at −5.8 dBFS.** No track goes above 0 dBFS.\n\n## 4. What to change, in order\n1. **Consider a mix check first.** Bass is over half the mix, so a master limiter would mostly be reacting to the bass. Two other things you might want to look at:\n   - The Pad has an `eq.eight` with **+10 dB at 250 Hz placed after its own limiter**, so the limiter doesn't control that boost. The Pad is also panned hard left (pan −1).\n   - The Hook (your preserved motif) is 1% of the mix, with its fader at −12 dB.\n   \n   These may be deliberate. They're observations from the numbers, not faults.\n2. **Then run `master_to_target`** with `streaming`. It's one undoable step that would add about **+2.1 dB of gain** and a true-peak limiter.\n   - **About 1.1 dB of limiting** if you go by the whole-song peak (−2.0 + 2.1 − (−1.0)).\n   - **About 1.8 dB of limiting** if you go by Drop 2's −1.27 dBTP peak.\n   \n   Either way it's light. Check its after-measurement before you trust the result.\n3. **Then export.**\n\n## 5. What I didn't check\nI didn't listen to anything; these numbers describe the render. I didn't check other platforms' targets, codec or encoding loss, or any section beyond the first and the loudest. Whether the song should be at −14 LUFS is your call. If you'd rather leave it at −16.1, most streaming players will just play it a little quieter than louder tracks.",
   "turns": 8,
   "isError": false,
   "run": "loudness-r1"
  }
 ]
}
