AI, Actually ExplainedLesson 58 of 92

Module 6 · Beyond text: pictures, voices and video

Music from a prompt

In this lesson

  • 8 min read
  • 6 reading sections
  • Knowledge check
  • Lesson 6 of 9 in this chapter

This chapter’s goalExplain how diffusion can turn a prompt into an image; test counts, wording, hands, lettering and visual detail; describe reference-conditioned speech, video consistency and watermark evidence; and check the actual capabilities and limits of the chosen system.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableWatch6:01
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 8Free · no account needed
Lesson steps

Sound is a sequence too

Music generation uses several designs. This lesson follows two examples connected to earlier ideas: predicting discrete audio representations and using diffusion. Neither is the mechanism of every service, and a representation or objective developed for one domain still needs suitable training and engineering for another.

MusicGen, Meta’s 2023 research model, uses a codec to turn audio into discrete codes and an autoregressive transformer to generate them with text conditioning. Its documented setup has four codebooks at 50 frames per second, predicted with a delay pattern that needs 50 autoregressive steps per second of audio. A codec decodes the generated codes back to sound. Other systems can use different token rates or diffusion; undisclosed commercial architectures should not be inferred from similar outputs.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Stuck on something?Ask Meenal, your AI tutor

How to cite: Addaly (2026) ‘Music from a prompt’, in AI, Actually Explained. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/ai-actually-explained/music-from-a-prompt (Accessed: 29 November 2026).