---
url: https://superduperai.co/library/track-teardown-reference-track-by-numbers/
title: Tear down a reference track by numbers: tempo, key, groove, balance
description: 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.
category: music
platforms: [any]
works_with: [claude-code]
tags: [reference-track, spectrogram, demucs, tempo, analysis, stems]
difficulty: advanced
verified: false
created: 2026-11-10
updated: 2026-11-10
source: https://github.com/fortunto2/superduper-dsp/tree/main/skills/track-teardown
---

# 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.

## Prompt

```text
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.
```

## Install

```sh
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 with

- Claude Code: Runs as a skill or a prompt in the terminal; can read your files and write the result.
