Tear down a reference track by numbers: tempo, key, groove, balance
The agent reads a spectrogram instead of listening, splits stems with Demucs, fits tempo and phase to the kick, and rebuilds the vibe until the numbers match the reference.
Use the track-teardown skill on {reference.mp3}.
1. Make a mel spectrogram of the whole track and 4-bar close-ups; look at every picture and describe the kick pattern, sidechain pumping, where the bass enters and the section changes.
2. Split stems with Demucs (drums, bass, other, vocals) and look at each layer alone.
3. Only then print numbers: fitted BPM and phase, key, band balance, energy per 4 bars.
4. Tell me which two things define the vibe of this track, and which I should copy first. In Claude Code, paste the prompt as a message.
Install
npx skills add fortunto2/superduper-dsp --skill track-teardown# or the whole set as a Claude Code plugin (commands then look like /superduper-dsp:track-teardown):
claude plugin marketplace add https://github.com/fortunto2/superduper-dsp
claude plugin install superduper-dsp@superduper-dsp --scope userSteps
- Install the skill. You need Python 3.13 with numpy, scipy, librosa, matplotlib and soundfile (the skill lists the uv commands), and Demucs through uvx for the stems (about 3 minutes per track).
- Paste the prompt with your reference. The agent writes small scripts as it goes (analyze, tempo, sections, zoom).
- The skill's pipeline also calls mixcheck.py from the superduper-dsp repo for band balance.
- To rebuild the track with your own instruments, the skill continues into solving the balance numerically, not tweaking by ear.
Tips
- Pictures first, numbers second. Numbers without the picture mislead: a dense vertical picket fence across the whole track means a four-on-the-floor kick.
- Fit the tempo to the kick hits, not to a tempo tag.
- Analysis stays on your machine. Only the rebuild step uses the SuperDuper plugins.
| works with | Claude Code: Runs as a skill or a prompt in the terminal; can read your files and write the result. |
| cost | Free. No API, no key. |
| status | Unverified: written from the technique, not yet run end to end by us. |
| source | track-teardown skill in superduper-dsp (MIT) |
| license | CC BY 4.0 for the text here; skills are MIT. |
| updated | 2026-11-10 |
| for agents | track-teardown-reference-track-by-numbers.md |
Related
Nine agent skills for mixing, mastering and making music (superduper-dsp)
A Claude Code plugin that teaches an agent to mix by measurement, build songs in REAPER, render plugin chains headless, turn audio into MIDI and tear down a reference track.
Mix and master by measurement: sdsp-mix
An agent mixes the way an engineer would: render, measure against a commercial reference, change one thing. Mix map of who masks whom, kick and bass ducking, mastering to a loudness target.
Strip other people's music before upload with Demucs and ffmpeg
Car radio, shop speakers and festival stages trigger Content ID. Split the soundtrack into stems, find the music on drums plus bass, keep the voice, replace the music, rebuild audio only.
Recording to MIDI: pick the model by material, then check it
Three local transcription models fail in different directions. The skill picks one by what the material is, runs it, and checks the result before you trust it.
Mashups and ciphers with a beat grid: sdsp-mash
Pick pairs by BPM and key, split stems, stretch only the beat, and render one beat with verses from other songs, or a beat switch per verse, from a TOML file.
Separate vocals, music and drums from a recording (/solo-stem-split)
Separate a song or a film's soundtrack into stems (vocals, drums, bass, other) with Demucs, locally, on the Apple GPU when there is one.