agentleFS
Meraj-08Meraj-08/motion-studio-skills/skills/sfx-sync/SKILL.md

sfx-sync

Skill1 starsChanged 44 days agoMITView on GitHub

Design, synthesize and place sound effects so each one lands on the frame the eye sees and is heard on laptop and phone speakers: UI clicks, typing, taps, sends, arrivals, whooshes into cuts, risers, impacts, ticking under suspense. Use when someone says a sound is late or early, "I can't hear the typing", "the landing sound is missing", "sounds overlap", "too many whooshes", wants UI foley for a product video, or needs effects generated in code. Verifies timing with an attack/peak report against the picture's event table.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every event gets one sound.

    line 19
  2. Very specific:

    Place it, then check: scripts/audio-check.py sfx.wav --events 12.9:send,42.833:merged → attack or peak within ±20 ms, and at least half its …

    line 40
  3. Distinctive:

    Check overlaps: two effects audible at once within 12 dB of each other is clutter.

    line 42
  4. Distinctive:

    Every event needs a sound that sits above the music.

    line 55
  5. Distinctive:

    If a sound effect gets cut off at the end, extend the picture 1–2 s.

    line 61

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

SFX sync

Every event gets one sound; you can hear every one; none of them stack. Where a sound sits in time matters more than which sample it is.

Place by the point the ear hears

SoundAlign its…to
clicks, taps, keys, state changesattackthe frame (0 ms)
hero hits (success, landing, reveal)attack/peakthe frame
whooshes into a cutpeak100–250 ms before the cut (the ear cues the eye)
arrivals (cards, a phone, a character landing)attackthe settle, ~250 ms after the move starts
risersendthe hit, with an 80 ms breath before it

Offset = picture frame − the audible point's position inside the file. Measure both; never trust a cue sheet.

Workflow

  1. Take the frames from docs/EVENTS.md. Confirm each with a frame strip (review-sheets.sh --strip t): a badge logged at 42.867 s turned out to flip at 42.833 s.
  2. Choose or make the sound: real recorded foley for typing and taps where possible; otherwise scripts/sfx-synth.py (seeded variation per press, so typing never repeats one sample).
  3. Place it, then check: scripts/audio-check.py sfx.wav --events 12.9:send,42.833:merged → attack or peak within ±20 ms, and at least half its energy in 400 Hz–4 kHz (what laptops and phones play).
  4. Check overlaps: two effects audible at once within 12 dB of each other is clutter; keep one.
  5. Listen once on laptop speakers and once on a phone.

Generate effects

python scripts/sfx-synth.py sfx.wav --cue 10.2:thock --cue 10.34:thock --cue 12.9:send \
  --cue 14.28:pluck=D5 --cue 15.57:pluck=G5 --cue 16.72:pluck=B5 --cue 42.833:impact --cue 66.9:whoosh=0.8
python scripts/sfx-synth.py --gallery sfx-gallery/      # audition every voice

Rules reviewers confirmed

  • Every event needs a sound that sits above the music; the music ducks for it. One per event.
  • Warm, varied, soft. No bright or whistly effects, no odd high tones, no cartoon boings on a mascot.
  • Typing must pop: lower the bed under it, use real keyboard or phone recordings cleaned of music, and only on frames where characters appear.
  • Ticking on the music's beats under a failure, speeding up; a distinct merge click; the success sound not too loud.
  • Offer 3–4 landing or step options in a 10 s sample before choosing.
  • If a sound effect gets cut off at the end, extend the picture 1–2 s.

References

  • references/placement.md: audibility, the sounds reviewers asked for, placement details.
  • references/synthesis-recipes.md: DSP recipes (keys, clicks, impacts, risers, ticks, sax, bass, brushes), arrangement ideas, ElevenLabs notes.

Scripts

ScriptUse
scripts/sfx-synth.py out.wav --cue t:type[=param][:dB]Synthesize effects on exact times, aligned by attack, peak or end.
scripts/audio-check.py sfx.wav --events t:label[:pre]Attack and peak vs the frame, and 400 Hz–4 kHz share.
scripts/picture-events.py film --region x,y,w,hThe exact frame a UI element changes.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.