beat-sync
Installation
SKILL.md
Beat sync
Speed, cuts and transitions land on the same instants, and the instants come from measurement.
Workflow
- Measure.
agentWorkspaceactionaudio_inspecton the music clip returns the beat grid (bpm,beatOffset,beatTimes,downbeatTimes), tempo and energy changes. If no beat evidence is available, do not invent a grid and do not claim beat sync; cut on the action instead. - Convert to timeline time. Inspection timings are window-relative: add the window's
fromand the clip's timeline start. - Lay the grid:
addMarkerswith those timeline times, then ONEsliceClipwithtimeson them (timeline seconds strictly inside the clip). Or retime existing clips withsnapToBeat(bpm and beatOffset from the analysis; group mode keeps staggered graphics together;dryRun:truefirst). - Emphasis, not every beat. Land emphasis cuts on downbeats and respect 4, 8 and 16 bar phrases. Cutting on literally every beat for a minute is a metronome.
- Transitions ON the beat, never between: one style ("zoom-blur", "whip-pan", "glitch" or "flash", 0.15 to 0.3 s) repeated. A different transition each time reads as a template demo.
- Speed as rhythm: ramp into a hit with one
setKeyframeTrackspeed curve (speed-ramps). Punctuate the biggest hit only (applyCameraShakeor apunchIn). - Land the last cut on the final beat; a velocity edit that trails off feels unfinished.