AI Music Albums from YouTube
How a whole YouTube channel of AI-generated music becomes finished, tagged, verified albums, with a flowchart you can hand to your own AI.
Some AI-generated music lives on YouTube, one channel at a time, as singles, chaptered albums, and long mixes. This page is the flow Mike and Lyra use to turn a whole channel into proper albums with real tags, and how Claude helped build it.
It has worked with some success. Long, unlabeled mixes are where the hard calls pile up, and the flow is honest about that.
Here, "mastering" means taking audio from its source to a finished, tagged, checked album folder. The pages in this section are not code walkthroughs. They are flow and ideas, 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. Before the build starts, a person settles the taste-dependent choices: the artist name, genre, language, and how long mixes are treated.
- GO. Before the bulk download, the flow shows a dry-run preview of exactly what it would do, with nothing downloaded. The download waits until a person says go.
The flow
1 Recon the channel
|
2 Register it, set up a workspace
|
3 DECIDE <-- a person
|
4 Fetch the catalog
|
5 Cluster tracks and albums
|
6 Triage the doubtful ones <-- a person plus Lyra
|
7 Fingerprint the audio
|
8 Long mixes: split or keep
|
9 GO <-- a person, after a dry-run preview
|
10 Assemble: download, cut, tag
|
11 Choose cover art
|
12 VERIFY GATE zero errors or not finished
|
13 Hand off to Mike
What happens at each step
- Recon the channel. Before building anything, look at what the channel actually holds: singles, chaptered albums, long mixes with a track list in the description, or seamless mixes. Work out who the real artist and label are. The result is a report, written before any work starts.
- Register and set up. The channel is registered and given its own working folder.
- Decide. A person picks the artist name, the genre, the language, and how long mixes should be treated. Genre carries musical meaning, such as Jazz with a Space-Age Jazz subgenre. A separate provenance tag says "AI Generated."
- Fetch the catalog. The flow pulls the channel's full list of videos and breaks them into track-instances, one per chapter or one per video.
- Cluster. The track-instances are grouped into real tracks and albums. Doubtful merges and odd titles go onto a "needs review" list instead of being guessed at.
- Triage. A person, with Lyra, rules on the doubtful ones and cleans up marketing-style album names. The rulings are saved, so a later refresh of the channel does not ask the same questions again.
- Fingerprint. Titles drift between uploads, but audio does not. Audio fingerprints settle whether two entries are the same track by the sound.
- Long mixes. Each long mix gets its own decision. Split it using the timestamps in the description, split it by chapters or silence, or keep it whole if it is seamless or unnamed.
- GO. The flow shows a dry-run preview of what it is about to do, and a person says go. This is the shared checkpoint all three flows in this section have before the bulk download.
- Assemble. Each source is downloaded once and cut without re-encoding. The flow then writes the full set of tags: the AI provenance marker, one shared label, the genre. Fingerprints are embedded in the files.
- Cover art. One cover is chosen for each album.
- Verify gate. Every file is scanned for errors and for duplicate or stale tags. The rule is zero errors, or the batch is not finished.
- Hand off. The finished albums wait in a staging area as Opus files, one folder per channel. Mike copies them into the library by hand. From there, the usual library pipeline takes over.
A channel's working data is kept after the run, so the next batch from the same channel builds on what is already known.
Tools in this flow
Third-party tools:
- yt-dlp for fetching from YouTube.
- ffmpeg for working with the audio.
- Chromaprint and AcoustID for fingerprinting.
- TagLibSharp and ExifTool for tags.
Home-built, written by Claude with Mike: a channel pipeline that ties the rest together.
MusicBrainz and Discogs are not part of this flow. AI-generated music is not in them, so there is nothing to look up.
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:
- Pilot first, then generalize. Each flow began as one real job. The written playbook came from what that job taught.
- Separate who decides from who executes. Taste calls stay with a person and are written down in a file. Mechanical calls are scripted.
- Dry run, then GO. Nothing bulky happens before a person has seen the preview.
- Verify on disk, not in the loop's summary. The verify gate reads every file itself rather than trusting a report that everything went fine.
- Keep the source. Nothing is deleted by rule, so a better source or richer tags later means re-running, not re-finding.
- 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 player, tags, and folders will not match ours, so start from your own end state.
- Describe the destination first. Tell your AI what a finished album looks like in your library: file format, tag scheme, folder layout. The flow above is the road; this is the map.
- Ask for recon before building. A good opening prompt is: "Look at this channel and tell me what kinds of content it holds before you build anything."
- Insist on a needs-review list. Have the AI flag doubtful merges and odd titles instead of resolving them quietly, and have it save your answers in a file.
- Prefer fingerprints to titles for deciding whether two uploads are the same track, if your tools allow it.
- Treat long mixes as their own decision, per mix, rather than one rule for all.
- Give the AI a gate it cannot skip. For example: "A batch is not finished until every file has been scanned and the error count is zero."
- Ask a second AI session to check your flowchart against what the code actually does. A chart that says one thing while the tools do another is worse than no chart.
Next: Albums from the Internet Archive and Making Mixtapes.