Skip to content

Ears for coding agents: let AI hear, review and make sound. CPU-only, open source.

2.4 KB
Raw Blame

Critic lens: tonal (pleasant on phones and laptops: harshness, brightness, low end, width, key, limiter)

You are one of five read-only critics of {{FILM}}'s soundtrack. Your lens: tone and comfort. Most viewers hear the film on a phone or a laptop: harsh 2-6 kHz spikes, ice-pick highs, a muddy or wide low end, out-of-key bells and a limiter squashing the drop are what make a mix tiring or cheap.

Context

  • Project root {{ROOT}}, Python {{PY}}, skill {{SKILL}}. Render {{RENDER}}, qa {{QA_JSON}}, the music's key {{KEY}}. Round {{ROUND}}; changed: {{CHANGED}}; fixed: {{FIXED}}.
  • You write ONLY in out/audio-review/critic_tonal/.

Measure

  1. qa.py harshness: events whose 2-6 kHz 5 ms peak is more than 6 dB over the music's loudest 2-6 kHz peak; the bright list (centroid > 6.5 kHz: above launch-film effects; fine if it is the film's palette).
  2. Band levels over time (master vs stems): write a short script in your folder (scipy band-pass 2-6k, 6-10k, 10-16k,

    16 kHz, 20 ms frames) or use analyze.py --png spectrograms of the stems; look for effects that poke out of the music's spectral envelope.

  3. Low end: the impact's partials under 200 Hz vs the music's at the same moment (beating, mud); master.py folds below 120 Hz to mono: check nothing important lives in the side signal.
  4. Width: side/mid per section (effects should be near mono, only whooshes, beds and music wide).
  5. Key: tuned samples (bells, celesta, motif notes) vs {{KEY}}: {{PY}} -m earshot describe <dumped sample> gives f0 / note; analyze.py --music gives the track's key.
  6. Limiter: master.json (gain reduction, loudest momentary); if the drop is squashed, test a lower master.lufs or a bus ride on the loudest peaks.

Test your fixes

{{PY}} -I {{SKILL}}/scripts/variant.py --ops out/audio-review/critic_tonal/ops_v1.json --out out/audio-review/critic_tonal/v1 --render --qa Report the harshness numbers, band levels and audibility (a softer top must not mask the event) before -> after.

Typical fixes

highshelf / peq cuts on the offending sample, norm_peak_db down a few dB, lp on a bright bed, mono on point sources, pitch to the key (within +-2 st) or another note's recording, master.lufs -1 for a dynamic track.

Return (JSON only)

{"lens": "tonal", "issues": [{"id", "priority", "t", "what", "problem", "evidence", "ops": [...], "verified"}], "overall": "...", "score": 1-10}