An agent skill, built on A22 and Permadicea22‑soundtrack
Original music and sound effects for your videos, scored by your coding agent, timed to the frame and made entirely on your machine.
For Claude Code and compatible agents. Needs Python, ffmpeg and a C compiler. No samples, no network, no DAW. What you render is yours.
The demo library
Ten tracks in ten styles, 3:24 in all, each rendered from a short script by the skill. The letters are the A22 engines each one plays.
| No. | Play | Track | Tempo · key | Length | Engines |
|---|---|---|---|---|---|
| S01 | Swiss Minimal RhodesDesign showcase, Dieter Rams UI walkthrough, typography demo | 94 BPM D minor |
0:23 -14.2 LUFS |
ABDI | |
| S02 | Broken-Beat 808 PocketKinetic hardware reveal, fast UI interactions, studio reel | 116 BPM F minor |
0:19 -14.0 LUFS |
BHI | |
| S03 | Deep Dub TechnoDark-mode developer tool, CLI/architecture showcase | 122 BPM C minor |
0:19 -14.0 LUFS |
ADGI | |
| S04 | Late-Night Lo-Fi TapeCozy coding vlog, calm tutorial, behind-the-scenes | 82 BPM Eb major |
0:26 -14.6 LUFS |
BFIJ | |
| S05 | Clean Tech Launch HouseEnergetic product launch, keynote-style feature sizzle | 124 BPM A minor |
0:17 -13.8 LUFS |
ACDI | |
| S06 | Ambient Voiceover BedNarration / tutorial / documentary bed (-19.5 LUFS, voice-safe EQ) | 76 BPM Cmaj9 |
0:22 -19.5 LUFS |
BCG | |
| S07 | Nordic Wire MinimalismArchitecture, clean minimalism, data visualization, editorial | 104 BPM E minor |
0:21 -14.6 LUFS |
DFJ | |
| S08 | Warm Analog SynthwaveRetro-modern dev showcase, game dev, night-drive visuals | 108 BPM G minor |
0:20 -14.0 LUFS |
CDI | |
| S09 | Modal Perc GroovePlayful creative tool, micro-interactions, industrial design | 112 BPM D Dorian |
0:20 -14.2 LUFS |
DIJ | |
| S10 | Cinematic FM PulseDramatic trailer, release countdown, high-impact opener | 128 BPM B minor |
0:18 -13.8 LUFS |
ACEI |
Sound on the picture
The agent writes a cue sheet: where the sections of the video start and what happens on screen. The skill fits a tempo so the sections land on the music's bars, then places each sound to the sample.
Play the reel, or pick a cue on the sheet below it.
{
"duration": 24.0, "fps": 60, "bpm": "auto", "key": "D",
"sections": [{"t": 0.0, "name": "hook"}, {"t": 3.0, "name": "title"}, ...],
"events": [
{"t": 3.25, "sound": "chime", "notes": 2, "label": "title"},
{"t": 6.60, "sound": "pop", "step": 1, "label": "card"},
{"t": 16.50, "sound": "count", "count": 20, "dur": 1.0, "label": "counter"},
{"t": 21.00, "sound": "impact", "label": "END"}, ...
]
}
Loops that don't click
For a website hero that plays forever, the music is a whole number of bars and its tails wrap into the start, so the seam is just another beat.
It loops: listen for the seam at 12 s.
What it does
Every job ends with a check that prints numbers, so the agent can show its work instead of saying "sounds good".
| Music | Multi-stem tracks from A22's engines, humanised by Permadice, mastered to a loudness target (EBU R128). |
|---|---|
| Sound effects | Ticks, taps, pops, chimes, whooshes, risers and impacts placed on exact frames, in the music's key. |
| Your video | Finds the on-screen moments, scores silent videos, adds effects over existing music without touching it, and lays a bed under a voiceover that keeps the voice exactly as it was. |
| Loops | Seamless web-hero loops, with the seam measured. |
| Checks | Sync per event, loudness and true peak, loop seams, and whether a voice or the original music came through unchanged. |
| Runs | Offline. Renders are deterministic: the same script gives the same file, byte for byte. |
Install
Put it where your agent looks for skills, then build the two small engine programs once.
- Get the skill
git clone https://github.com/abektes/a22-soundtrack ~/.claude/skills/a22-soundtrack - Have Python 3.9+ with numpy (or uv), ffmpeg and a C/C++ compiler
brew install ffmpeg # macOS; or: sudo apt install ffmpeg build-essential - Check, build and smoke-test (about 20 seconds)
python3 ~/.claude/skills/a22-soundtrack/scripts/setup.py
Then ask your agent
- Score this demo video; add sounds for the title, each feature card and the final logo hit.
- Make a 12-second seamless loop for our homepage hero, calm, in D major.
- Add UI sound effects to reel.mp4; it already has music.
- Put a calm bed under my voiceover and a few subtle UI sounds. Keep my voice exactly as it is.
Built on
Both engines are vendored at the exact commits the demos were tuned on, so the skill needs nothing else.