Lesson 5 of 9 · about 18 minutes
How AI Music Generation Works
You'll be able to
- Explain in plain terms how a text-to-music model goes from a prompt to audio
- Recognize the typical artifacts of AI music and where they come from
- Compare the main commercial music generators on length, downloads and rights as of October 2026
- Describe the training-data dispute fairly, including what the Copyright Office said and what the companies argue
Speech is one voice saying words in order. A song is a drum kit, a bass line, chords, a melody and a singer, all locked to a beat, repeating with variations over three or four minutes. A model has to get the millisecond right and the minute right at the same time. That double job explains most of what AI music does well, and most of how it fails.
Worked example: the size of a song
CD-quality stereo is 44,100 samples per second in each of two channels.
44,100 x 2 = 88,200 numbers per second. A three-minute song is 180 seconds: 88,200 x 180 = 15,876,000 numbers.
The chorus at 2:10 has to match the chorus at 0:50, which is 80 seconds or about 7 million numbers earlier. Predicting raw samples across that distance is hopeless. Every practical system first compresses audio into a much shorter sequence of codes, then models that.
Three research milestones
The commercial companies keep their architectures private. Published research shows the main ideas they build on.
| System | Year | Idea | What it showed |
|---|---|---|---|
| Jukebox (OpenAI) | 2020 | Compress raw audio into discrete codes at several levels of detail, then predict codes with transformers, conditioned on genre, artist and lyrics | Songs with singing could be generated from raw audio at all. Slow and rough, but proof of concept. |
| MusicLM (Google) | 2023 | Treat music generation as a hierarchy of sequence-to-sequence steps from text to audio at 24 kHz | Music consistent over several minutes from a text description, and melody conditioning from humming or whistling. Released MusicCaps, 5,500 music-text pairs. |
| MusicGen (Meta) | 2023 | One transformer predicting several interleaved streams of codec tokens, conditioned on text or melody | A single-stage model could match cascades, in mono and stereo, with open code and weights. |
Some other systems use diffusion, the noise-removal method that image generators use, on a compressed form of the audio. The two approaches are converging, and for a user the difference matters less than three shared facts. They learn from huge amounts of recorded music. They are steered by text and sometimes audio. And they produce an average of what they learned that fits your prompt.
From prompt to song
Lyrics add a hard sub-problem. The model must assign each syllable to a note it is composing in the same breath, so stress patterns of the words and the beat have to agree. When they do not, you hear the familiar tells: a word stretched over three notes, a syllable swallowed, the stress on "re-PORT" landing as "RE-port."
Section tags like [Verse] and [Chorus] help because they give the model a map. A model trained on millions of songs has a strong prior for what a chorus does: lift in energy, repeat the hook. Tags let you call up that prior where you want it.
Where the artifacts come from
| Artifact | Likely cause | Fix |
|---|---|---|
| Tiny ticks and clicks | Decoding glitches; SoundStudio's theory page names Suno among sources of tiny broadband ticks | SoundStudio click finder, Suno ticks setting (lesson 6) |
| Swishy, smeared cymbals | Heavy compression of high frequencies in the codec | Gentle EQ; regenerate if severe |
| Mumbled or wrong lyrics | Syllable-to-note alignment failure | Rewrite lines with clearer stress; region edit |
| Song that wanders or ends abruptly | Long-range structure is the hardest part | Explicit section tags; extend or crop |
| Generic sound | The model outputs a statistical middle of the genre | More specific instrumentation and production words |
The main services as of October 2026
| Service | What the provider says now | Downloads and rights |
|---|---|---|
| Suno | v6 family (v6, v6-wild, v6-mini) in its help center as of September 2026; up to 8 minutes per generation; Suno says v6 is the first model released in partnership with artists and producers including Warner Music Group and BMG. Stem separation into up to 12 stems on paid plans. | Free accounts get up to 7 lifetime trial downloads for personal use. Pro gets 20 downloads a month, Premier 60. Songs made while subscribed carry commercial use rights. |
| Udio | Settled with Universal in October 2025 and with Warner in November 2025, and committed to licensed models. | Per a September 2026 trade summary, downloads have been off on every plan since late 2025, pending a licensed relaunch built with Universal that had no confirmed date. |
| Mureka | The model list in Jeff's MusicStudio shows mureka-9.5 as newest, plus mureka-9, mureka-8, mureka-o2 and mureka-7.6. | Mureka's FAQ says it is subscription-only and that subscriptions include full commercial usage rights; free users get daily credits for a few songs on an older model. |
| ElevenLabs Music | Launched August 2025, made "in collaboration with labels, publishers, and artists"; tracks from 3 seconds to 5 minutes, with section-level editing. | ElevenLabs says it is cleared for nearly all commercial uses, with terms varying by plan; the API is for paid subscribers. |
Treat every line of that table as perishable. In twelve months this market went through lawsuits, settlements, a model generation and new download rules. Check the provider's help center the same week you release anything or repeat a figure from it.
The training-data fight, fairly
Every one of these models learned from recorded music. The dispute is over whose music, how it was obtained and whether permission was needed.
The labels' position. Universal, Sony and Warner sued Suno and Udio in June 2024, arguing that copying millions of recordings to build a product that competes with those recordings is infringement. In the Suno case, in federal court in Massachusetts, the judge in August 2026 let the labels add a claim that Suno got recordings by ripping them from YouTube, circumventing its protections. Suno's September 2026 answer, as reported by Music Business Worldwide, admits obtaining YouTube audio with a tool called yt-dlp and training on "tens of millions" of recordings.
The companies' position. Suno and Udio argued from their first answers in August 2024 that training is fair use: the model learns patterns, the copying is an internal step, and the output is new music that does not reproduce the recordings. Suno also notes, per the same report, that the labels do not appear to claim its outputs copy the recordings at issue.
The Copyright Office's view. Its May 2025 pre-publication report on training, still marked pre-publication as of October 2026, said many training uses are likely transformative, and that fairness depends on what works were used, from what source, for what purpose and with what output controls. It also said that commercial use of vast troves of works to produce content competing with them in existing markets, especially through illegal access, goes beyond established fair use boundaries. That is the Office's reading, not a court ruling.
Where it stands. No court had ruled on fair use in a music-generation case as of October 2026. The settlements point in one direction in practice: the companies that settled moved to licensed models, and Suno describes v6 as built in partnership with Warner and BMG. Lesson 8 has the case-by-case status.
Common mix-ups
- Claim: AI music generators stitch together clips of real songs. What the evidence shows: They generate new audio from learned patterns. They can still produce output close to something they learned, which is one reason ElevenLabs, for example, screens uploaded reference audio for copyrighted material.
- Claim: The lawsuits are over. What the evidence shows: Several label claims settled in late 2025, but Universal and Sony were still litigating against Suno, and Sony against Udio, as of the latest reports in 2026.
- Claim: A paid plan means you own a copyright. What the evidence shows: A plan grants rights under the provider's contract. Copyright depends on human authorship, as lesson 8 explains, and Suno's own help center says so.
Reporting angle
- A local "artist" with ten albums released this year? Check the credits on the streaming page; Spotify supports AI credits supplied by distributors. Then ask the artist directly what tools they used.
- Track the Suno case in the District of Massachusetts and the Udio case in the Southern District of New York on PACER or CourtListener. Summary judgment briefs on fair use will contain each side's strongest evidence.
- Ask regional musicians and studios whether AI tools have changed their work: fewer jingle jobs, more demo cleanup, new licensing income. Get numbers, not vibes.
Research angle
- Jukebox paper, an early generative model for music with vocals.
- MusicLM paper on music generated from text.
- MusicGen paper, simple and controllable music generation.
- Suno Help: what is new in v6.
- U.S. Copyright Office Part 3 report on generative AI training.
- Music Business Worldwide on Suno's court filing about its training audio.
- ElevenLabs docs on Eleven Music capabilities.
Check yourself
1. Why is a three-minute stereo song hard for a model to generate sample by sample?
44,100 x 2 x 180 = 15,876,000 samples. The model must keep a chorus consistent across minutes while getting every millisecond right, which is why compressed codes are used.
2. What did Meta's 2023 MusicGen paper do differently from earlier cascaded systems?
MusicGen is a single-stage language model over interleaved codec token streams, conditioned on text or melody, removing the need to cascade several models.
3. As of September 2026, Suno's help center says its v6 models support songs up to what length per generation?
Suno's 'What's new in v6' article says all three v6 variants support up to 8 minutes per generation.
4. What was the status of downloads on Udio in September 2026, according to a trade summary?
After the October 2025 Universal settlement Udio disabled downloads, briefly reopened them for 48 hours in November, and kept them off pending its licensed platform, per a September 2026 summary.
5. In its May 2025 pre-publication report on AI training, what did the U.S. Copyright Office say about training uses?
The Office said fairness depends on the works, source, purpose and output controls, and that market-competing commercial use, especially with illegal access, goes beyond established fair use boundaries.
6. SoundStudio's theory page names a specific artifact some AI song generators leave. What is it?
The theory page lists AI generators such as Suno among sources of clicks, saying they sometimes leave tiny broadband ticks, and SoundStudio's click finder has a Suno ticks detector setting.
Terms in this lesson
- Text-to-music model
- A generative model that takes a text description, and often lyrics, and produces an audio recording of music.
- Conditioning
- Extra input that steers a model's output, such as a text prompt, lyrics, a reference track or a hummed melody.
- Stem
- One separated part of a mix, such as vocals, drums or bass, delivered as its own audio file.
- Fair use
- A U.S. copyright doctrine (17 U.S.C. 107) that allows some unlicensed uses, judged on purpose, nature of the work, amount used and market effect.
- Walled garden
- A service where what you make can be played and shared inside the platform but not downloaded out of it.
Sources
- Dhariwal et al., Jukebox: A Generative Model for Music (arXiv 2005.00341) checked 2026-10
- Agostinelli et al., MusicLM: Generating Music From Text (arXiv 2301.11325) checked 2026-10
- Copet et al., Simple and Controllable Music Generation (MusicGen, arXiv 2306.05284) checked 2026-10
- Suno Help: What's new in v6? (edited September 9, 2026) checked 2026-10
- Suno Help: v6 FAQ checked 2026-10
- Suno Help: How many downloads come with my subscription? checked 2026-10
- Suno Help: Advanced Stem Separation checked 2026-10
- OrcaRouter blog: Suno v6 vs Udio (September 9, 2026) checked 2026-10
- Mureka FAQ checked 2026-10
- MusicStudio (Journal Tools) checked 2026-10
- ElevenLabs blog: Eleven Music is here (August 5, 2025) checked 2026-10
- ElevenLabs docs: Eleven Music capabilities checked 2026-10
- U.S. Copyright Office: Copyright and AI Part 3, Generative AI Training (pre-publication, May 2025) checked 2026-10
- Music Business Worldwide: Suno admits it obtained YouTube audio to train its AI (September 2026) checked 2026-10
- TechCrunch: Suno responds to RIAA lawsuit (August 1, 2024) checked 2026-10
- SoundStudio audio theory: clicks, pops and ticks checked 2026-10