Robots Atlas>ROBOTS ATLAS
Speech & Audio Processing

AI music generation

2020ActivePublished: 9 November 2026Updated: 9 November 2026Published
Key innovation
Bringing generative AI to raw musical audio: instead of symbolic MIDI, models learn directly on compressed audio tokens (neural codecs), enabling full songs with vocals and arrangement to be generated from a text prompt.
Category
Speech & Audio Processing
Abstraction level
Technika
Operation level
ModelInferenceApplication
Use cases
Music production and songwritingBacking tracks and background music for video, games and adsRapid prototyping of musical ideasPersonalized, on-demand music generationGenerating vocals and arrangements from a text prompt

How it works

A typical pipeline: (1) a neural audio codec (SoundStream/EnCodec) encodes a recording into several streams of discrete tokens via residual vector quantization; (2) a generative model learns to produce those tokens — autoregressively (next-token prediction, as in MusicGen/MusicLM/Jukebox) or via diffusion (iteratively denoising an audio representation); (3) conditioning — text (through a language encoder/embeddings), melody, or other signals steer generation; (4) the codec decoder turns the generated tokens back into a waveform. MusicLM additionally uses a hierarchy of semantic and acoustic tokens, while MusicGen simplifies this to a single transformer over EnCodec's parallel code streams.

Problem solved

Traditional computer composition worked on symbolic MIDI and could not produce a realistic, finished recording with vocals and production. AI music generation addresses creating full, sonically rich audio directly from user intent (e.g. a text description), without playing instruments or manual production.

Components

Neural audio codecAudio representation and compression

Encodes a waveform into compact discrete tokens and decodes them back; usually based on residual vector quantization (RVQ). Examples: SoundStream, EnCodec.

Audio tokenizationInput discretization

Conversion of a continuous signal into a sequence of discrete tokens (semantic and/or acoustic) that the generative model operates on.

Autoregressive token modelGenerative model

A transformer predicting the next audio tokens conditioned on previous ones and on a control signal. Used in Jukebox, MusicLM, MusicGen.

Audio diffusion modelGenerative model

An alternative generative approach: iterative denoising of an audio representation (in waveform or latent space) to produce a recording.

Text conditioningGeneration control

A language encoder/embeddings linking a text description to the audio representation space, steering genre, mood and instrumentation of the generated track.

Evolution

2020
Jukebox
Inflection point

OpenAI introduces Jukebox — a generative model producing music with vocals directly on raw audio via a hierarchical VQ-VAE and autoregressive models.

2021
SoundStream (neural codec)

Google publishes SoundStream — an end-to-end neural audio codec with RVQ, a foundation for later audio-token models.

2022
EnCodec (neural codec)

Meta publishes EnCodec — a high-fidelity neural audio codec later used by MusicGen.

2023
MusicLM
Inflection point

Google introduces MusicLM — generating music from text based on a hierarchy of semantic and acoustic tokens.

2023
MusicGen (AudioCraft)

Meta publishes MusicGen — a single transformer over EnCodec's parallel code streams, with text and melody conditioning.

2024
Commercial Suno and Udio
Inflection point

Mainstreaming of consumer music generators: Suno (widely available since December 2023) and Udio (public beta April 10, 2024).

2026
Suno v6 and licensing settlements

In September 2026 Suno replaced earlier models with the v6 family, developed with industry partners (Warner Music Group, BMG, Believe), following settlements in copyright disputes.

Hyperparameters (configurable axes)

Number of RVQ levels / codebooksHigh

Number of quantization streams in the audio codec — a trade-off between audio quality and token-sequence length.

Sample rateMedium

Sample rate of generated audio (e.g. 24 kHz, 32 kHz, 44.1 kHz) affecting bandwidth and fidelity.

Conditioning typeHigh

Type of control signal: text, melody, genre, length — determines control over the output.

Model sizeMedium

Parameter count of the generative model, affecting quality, coherence and generation cost.

Parallelism

Parallelism level
Conditionally parallel

Method-dependent: training of autoregressive models is parallel (teacher forcing), but autoregressive inference is sequential token-by-token; diffusion models allow more parallelism at inference.

Scope
TrainingInference

Hardware requirements

Primary

Training and inference of large transformer/diffusion models over long audio-token sequences require high GPU throughput and memory.

Good fit

Models such as MusicLM were trained on Google accelerators (TPUs).