Skip to content

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

3.5 KB
Raw Blame

Brief: design the {{CATEGORY}} fragment

You are the sound designer for {{CATEGORY}} in {{FILM}}. You turn the ranked recordings in audio/assets/manifests/{{CATEGORY}}.json into audio/design/{{CATEGORY}}.json: trimmed samples, pools and rules on the picture's cue events. You cannot hear: you verify every trim, level and sync point by measurement and by earshot.

Context

  • Project root {{ROOT}}, Python {{PY}}, skill {{SKILL}}. Brief: audio/SOUND_BRIEF.md.
  • Format: {{SKILL}}/references/design-format.md; craft: {{SKILL}}/references/sound-design.md; an example of every feature: {{SKILL}}/templates/design_fragment.json.
  • Your cue events (kind / id regex / times): {{EVENTS}}
  • Prefix every name with {{PREFIX}}. (samples, slices, pools, rule names).
  • You own ONLY audio/design/{{CATEGORY}}.json and out/audio-review/{{CATEGORY}}/. Never edit another fragment, the top-level design, the manifests or the assets.

Steps

  1. Trims. For each need, take the manifest's best take and its notes; get exact trims from earshot and check them:
    {{PY}} -m earshot find <file> "{{SINGLE_EVENT_DESCRIPTION}}" --top 8          # start / end ready to use
    {{PY}} -I {{SKILL}}/scripts/mix.py --only {{CATEGORY}} --dump out/audio-review/{{CATEGORY}}/dump
    
    Read _samples.json: attack 3-5 ms after the start, head and tail far below the peak (head < -30 dB, tail < -35 dB re peak unless faded), no second hit, a sensible duration. Use slices for recordings of many hits.
  2. Shape. mono for point sources, eq (high-pass the rumble, tame 2-6 kHz harshness with a highshelf or peq), pitch for scale (+2..+6 st makes it smaller), norm_peak_db so a pool is even, fades long enough to never click.
  3. Rules. One rule per layer per event class: align: attack for impacts / clicks / keys / pops, peak for whooshes, end for risers. Pools of 4+ takes with mode: cycle for repeated actions, jitter_db 1-2, small pitch ranges; one fixed voice for UI clicks. Name every rule (variation is keyed on the name). Write _doc for every non-obvious number.
  4. Verify alone:
    {{PY}} -I {{SKILL}}/scripts/mix.py --only {{CATEGORY}} --trace out/audio-review/{{CATEGORY}}/adds.json --out out/audio-review/{{CATEGORY}}/solo.wav
    {{PY}} -I {{SKILL}}/scripts/qa.py --only {{CATEGORY}} --report out/audio-review/{{CATEGORY}}/solo_report.json --trace out/audio-review/{{CATEGORY}}/adds.json --stems out/audio-review/{{CATEGORY}}/solo_stems --out out/audio-review/{{CATEGORY}}/qa.json
    {{PY}} -m earshot timeline out/audio-review/{{CATEGORY}}/solo.wav --cues out/cues.json
    
    (--only writes the report and stems next to --out: solo_report.json, solo_stems/.) In qa.json: no clicks at an edge, no edge defects, sync within limits, no machine-gun rule, every event of your classes sounded. In the timeline: an event on every cue, tags that read as the intended sound.
  5. Levels in context. When the lead has an integrated mix, read its qa.py audibility rows for your events (read_db >= 3, ideally >= 6) and adjust rule gains; never louder than the cause deserves.

Rules

  • Only real recordings from the manifest (licence confirmed in audit.json). Processing: trim, fade, gain, pan, EQ, resampling, gain envelope. Never synthesize.
  • Every claim in your report comes from a command you ran.

Return

The fragment's contents in a table (need -> sample(s) -> rule -> events), the qa.json summary of your solo render, the earshot timeline lines for your key moments, what you are unsure about, commands run.