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.

Claude Codeadvanced1 hunverified
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 user

Steps

  1. 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).
  2. Paste the prompt with your reference. The agent writes small scripts as it goes (analyze, tempo, sections, zoom).
  3. The skill's pipeline also calls mixcheck.py from the superduper-dsp repo for band balance.
  4. 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 withClaude Code: Runs as a skill or a prompt in the terminal; can read your files and write the result.
costFree. No API, no key.
statusUnverified: written from the technique, not yet run end to end by us.
sourcetrack-teardown skill in superduper-dsp (MIT)
licenseCC BY 4.0 for the text here; skills are MIT.
updated2026-11-10
for agentstrack-teardown-reference-track-by-numbers.md
#reference-track#spectrogram#demucs#tempo#analysis#stems

Related

Music & sound intermediate

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.

Claude Code
Music & sound intermediate

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.

Claude Code
Music & sound advanced

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.

ffmpegClaude CodeBy hand
Music & sound intermediate

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.

Claude Code
Music & sound advanced

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.

Claude Code
Skills & tools intermediate

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.

Claude Code