Making Mixtapes
How a mixtape, or an unofficial soundtrack, is assembled from the best copy of each track into one finished, tagged, verified album, with a flowchart you can hand to your own AI.
A mixtape is an album that never officially existed: a tracklist someone chose, with a name someone gave it. The same goes for an unofficial soundtrack. This page is the flow Mike and Lyra use to build one as a real album in the library, and how Claude helped build it.
The twist is that every track can come from a different place. The flow's job is to find the best copy of each one, label the result honestly as a made-up album, and keep it from inheriting the identity of the albums its tracks came from.
Here, "mastering" means taking audio from its source to a finished, tagged, checked album folder. The pages in this section are flow and ideas rather than code, because everyone's system is different and your own AI can build the version that fits yours.
Machine and person
Most of the middle is a machine doing the heavy lifting. A person decides and approves at two points, and the last step into the library is always Mike's own hand:
- Decide. The taste calls are a person's: the invented album's name, comment, catalog scheme, and cover, plus the genres, the disc layout, and the track order.
- GO. The flow shows a dry-run preview of the finished album first. The tags are not written until a person says go.
The flow
1 Inventory the tracklist, probe candidates
|
2 Pick the best copy of each track
|
3 Assemble staged copies, repair artwork
|
4 DECIDE <-- a person
|
5 Manifest, preview
|
6 GO <-- a person
|
7 Write tags, wipe source identity
|
8 Normalize loudness (tags only)
|
9 VERIFY GATE zero errors or not finished
|
10 Hand off to Mike
What happens at each step
- Inventory. Start from the intended tracklist. For each candidate copy of each track, probe its bitrate and duration.
- Best copy per track. For every track, the flow takes the best copy available, in this order: a lossless or AAC copy already in Mike's library (read-only, copied out), an Internet Archive FLAC, a YouTube Opus, and, only when nothing better exists, the track from the original mixtape file. Each copy it pulls is checked against the intended track's duration, which catches wrong cuts, live versions swapped in for studio ones, and radio edits.
- Assemble. The chosen copies are gathered in a staging area. Embedded artwork that the tagging tool cannot open is repaired first, without touching the audio.
- Decide. A person invents the album's identity: its name, a comment, a catalog scheme, and a cover. The same person settles the genres, the disc layout, and the track order.
- Manifest and preview. The flow writes a recipe, called a manifest, for the finished album, then shows the dry-run preview of what it would do.
- GO. A person reviews the preview and says go.
- Tag. The full tag set is written, and a wipe of "source identity" is mandatory. A track pulled from another album drags that album's barcode and release IDs along with it, and those must not stay on the mixtape.
- Normalize loudness. Each track is leveled with ReplayGain tags only, with no album-level gain, because the sources are mixed. Nothing is ever re-encoded. A mixed-format album is correct on purpose, and it improves as the gaps are filled with better copies.
- Verify gate. A verifier checks that every track is present, the tags match the manifest, and no leftover barcode or album IDs remain. A clean error scan is also required. The rule is zero errors, or the mixtape is not finished.
- Hand off. The finished mixtape waits in a staging area, one folder per mixtape project. Mike copies it into the library by hand. From there, the usual library pipeline takes over.
Tools in this flow
Third-party tools:
- ffprobe for probing candidates.
- yt-dlp for YouTube copies.
- rsgain for loudness tags.
- ExifTool and TagLibSharp for tags.
Home-built, written by Claude with Mike: an album tagger and verifier, and an Internet Archive grabber for the Archive copies.
How Claude was used to build it
The tools and the first trial jobs were built earlier, in an older all-in-one music project, before the Production Studio project that now runs these flows. The studio inherited finished tools and written playbooks, so the early trial-and-fix rounds are not recorded here, and this page does not pretend otherwise. What the files do show is a handful of habits worth borrowing:
- Write lessons down as rules, each with the failure that earned it. The mandatory source-identity wipe is one: a single stray barcode once got a whole mixtape mislabeled downstream. Another: a tagging tool cannot open empty artwork files, so artwork is repaired before tagging.
- Pilot first, then generalize. The flow began as one real job, and the written playbook came from what that job taught.
- Separate who decides from who executes. The invented name, the cover, and the track order are taste calls and stay with a person. Probing, tagging, and loudness tags are scripted.
- Verify on disk, not in the loop's summary. The verifier reads the finished files rather than trusting a report.
- Keep the source. Nothing is deleted by rule, and a mixed-format album is correct on purpose and improves as the gaps are filled with better copies.
- One short skill file for the flow. It says "read this first, then do these steps, with these gates," so a fresh AI session can pick the job up cold.
Tips for feeding this to your own AI
Your library, tags, and sources will differ, so describe your own destination first.
- Rank your sources. Tell your AI the order of preference for where a track's audio comes from, and have it compare each copy's length to the track it is supposed to be.
- Treat a mixtape as an invented album. Have your AI give it its own identity, and ask it to strip every album identifier a pulled track brings along, such as barcodes and release IDs.
- Keep loudness out of the audio. If you want leveling, ask for loudness tags rather than changes to the files, and no album-level gain when the sources are mixed.
- Accept a mixed-format album. Mixed formats are fine here, and the album improves as better copies fill the gaps.
- Ask for a manifest and a preview before the tags are written, and approve it yourself.
- Hand the AI a verifier it cannot skip. For example: "A mixtape is not finished until every track is present, the tags match the manifest, no source barcode or release ID is left, and an error scan comes back clean."
- Ask a second AI session to check your flowchart against what the tools actually do.
Back to B-Sides. Previous: Albums from the Internet Archive.