a22-soundtrack

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.PlayTrackTempo · keyLengthEngines
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
A22 engines:AFM-4BELECTRICCSTACKDANALOGESHAPERFWIREGHAZEHMONOIKITJPERCHear them in A22's catalogue

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.

hooktitlefeaturesproofend0s3s6s9s12s15s18s21s24shook words · tick @ 0.50sline to mark · glide @ 2.30stitle · chime @ 3.25stabs · tick @ 3.95stabs up · swell @ 6.00sfeature 1 · chime @ 6.00scard · pop @ 6.60scard · pop @ 7.00stab · tap @ 8.92sfeature 2 · chime @ 9.00sline draws · glide @ 9.50stab · tap @ 11.92sfeature 3 · chime @ 12.00shighlight · sparkle @ 12.40sscroll · whoosh @ 15.40scommand · type @ 16.00scounter · count @ 16.50scheck · success @ 17.60sbuild · riser @ 21.00sEND · impact @ 21.00ssettle · fall @ 21.05scta · tap @ 22.30sclose · chime @ 23.00s
tick, tap, type, count pop, chime, sparkle, success, glide whoosh, swell, riser, fall impact
{
  "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".

MusicMulti-stem tracks from A22's engines, humanised by Permadice, mastered to a loudness target (EBU R128).
Sound effectsTicks, taps, pops, chimes, whooshes, risers and impacts placed on exact frames, in the music's key.
Your videoFinds 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.
LoopsSeamless web-hero loops, with the seam measured.
ChecksSync per event, loudness and true peak, loop seams, and whether a voice or the original music came through unchanged.
RunsOffline. 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.

  1. Get the skill
    git clone https://github.com/abektes/a22-soundtrack ~/.claude/skills/a22-soundtrack
  2. 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
  3. 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.