ae-audio-sync
Installation
SKILL.md
Audio sync
Motion that lands on the music reads as intentional; motion a frame or two off reads as sloppy, even to people who can't say why. Get the beats as comp markers first, then time everything to the markers.
1. Find the beats
The script next to this file reads any audio or video file with ffmpeg, finds the hits (rises in loudness, so drums and accents), estimates the tempo, and snaps everything to the comp's frame rate:
node <this skill's directory>/scripts/beats.js music.wav --fps 30
node <this skill's directory>/scripts/beats.js music.wav --fps 30 --start 0 --end 30 --json beats.json