---
title: How AI Makes Music: A Beginner's Look | Large Programs
description: Models can generate melodies and songs by learning patterns in sound. What that means for musicians.
canonical: https://www.largeprograms.com/ai-art-and-music-basics/
---

[Home](/) / [How LLMs Work](/category/how-llms-work/)

How LLMs Work

# How AI Makes Music: A Beginner's Look

Models can generate melodies and songs by learning patterns in sound. What that means for musicians.

26 November 2026 · 1 min read

![Illustration for the article How AI Makes Music: A Beginner's Look](/img/hero/art-ai-art-and-music-basics.svg)
*Illustration made for this site.*

Generative AI models learn patterns in their training data and then use those patterns to make new material. For music, that means new sound or songs.

## An early example: WaveNet

In 2016 researchers at DeepMind published a paper on **WaveNet**, a neural network that generates raw audio waveforms, one sample at a time, with each new sample predicted from all the previous ones. Computer sound is made of tens of thousands of samples per second, so this is a lot of predicting. The authors report that listeners rated WaveNet's speech as significantly more natural than the best earlier systems in English and Mandarin. When they trained it on music, they said it generated novel and often highly realistic musical fragments.

## Tools that exist

There are also models that make pictures from words, and models that make music from words. See [how AI image generators work](/how-do-ai-image-generators-work/).

## Questions

Wikipedia says generative AI models have been trained on copyrighted works, in some cases without the rightholders' permission. Who owns AI-made songs, and was the training data used fairly? These are open debates, similar to those in [AI and copyright](/ai-and-copyright-for-beginners/).

## Activity

Clap a rhythm, then ask a friend to clap what they think comes next. That is a tiny prediction game like the [next-word game](/kids-guess-the-next-word-game/).

## Sources

- [https://arxiv.org/abs/1609.03499](https://arxiv.org/abs/1609.03499)
- [https://en.wikipedia.org/wiki/Generative_artificial_intelligence](https://en.wikipedia.org/wiki/Generative_artificial_intelligence)

[Read this page as Markdown (.md)](/ai-art-and-music-basics.md)

## Keep reading

[![](/img/hero/art-backpropagation-how-neural-networks-learn-from-mistakes.svg)](/backpropagation-how-neural-networks-learn-from-mistakes/)

How LLMs Work

### [Backpropagation: How a Network Learns From Its Mistakes](/backpropagation-how-neural-networks-learn-from-mistakes/)

Backpropagation is the method that works out how to adjust each weight in a neural network after it makes an error. A simple explanation with a team analogy.

[![](/img/hero/art-chain-of-thought-prompting-showing-your-working.svg)](/chain-of-thought-prompting-showing-your-working/)

How LLMs Work

### [Chain-of-Thought Prompting: Showing the Steps](/chain-of-thought-prompting-showing-your-working/)

Asking a language model to show intermediate steps can improve its answers to hard problems. What the research found and how it is like showing your working in maths.

[![](/img/hero/art-computer-vision-how-computers-see.svg)](/computer-vision-how-computers-see/)

How LLMs Work

### [Computer Vision: How Computers Make Sense of Pictures](/computer-vision-how-computers-see/)

Computer vision is the field that teaches computers to get useful information from images and video. Tasks, examples and a reminder that a computer does not see like you.
