What's next?

Performing music is a series of decisions. At any given moment, a musician might hold a note a little longer, play the next one, or leave some silence. There’s a kind of model built for choices like these. It’s called a decision model.1 I give it the options, tell it what’s happening, and it weighs how well each option fits.

Before asking the model to make bigger musical decisions, I wanted to see what it could do with a single note. Could it make a steady tone if I showed it the part of the wave it had already made and let it choose the next tiny piece?2

Trying to make a sine wave

A 250 Hz sine wave repeats 250 times a second. At 8,000 samples per second, each cycle takes 32 samples. For each sample, the model chooses one of 16 levels. The prompt tells it to start at the midpoint, reach the peak 8 samples later, cross the midpoint at 16, reach the lowest point at 24, and start again at 32.

Each waveform shows the first 32 milliseconds of its recording on the same amplitude scale. In the target tone, that’s eight complete cycles.

The target tone

This five-second reference follows the sine formula, rounded to the same 16 amplitude levels available to the models. Near each peak and trough, the wave changes so slowly that several samples round to the same level, giving the curve its flat spots.

The target waveform rises and falls in eight evenly spaced cycles.

D3-mini’s attempt

For each sample, D3-mini saw its position and a history of earlier choices. D3-mini gave each of the 16 levels a probability. The program used those probabilities to pick the next level at random. After 40,000 choices, all I had was noise. Maybe the model could see where the wave had been but still struggled to follow the same curve for 32 choices in a row.

The D3-mini waveform jumps between levels in an irregular pattern.

Clef-Flash’s attempt

Clef-Flash received the same prompt and the same sampling seed. It landed on the midpoint about 28% of the time, compared with 13% for D3-mini. Neither take sustained the 32-sample cycle.

The Clef-Flash waveform changes direction unevenly across the same interval.

Playing Terry Riley’s In C

In 1964, Riley took an idea he’d explored with tape loops and put it in the hands of live musicians. As the players repeat their short phrases, the rhythms overlap in ways that change from one performance to the next.3

At the end of each phrase, a player can repeat it or move on. In this experiment, a decision model makes that choice. Here, five players work their way through the same 53 figures, staying within three figures of one another. Once everyone reaches the last figure, the players take turns falling silent.

Edit performance prompt

During playback, apply your edits to guide upcoming decisions.

How the players decide

Choose between Bekko 17M and TS-Ettin-32M. Both run in your browser. For each player, the selected model considers how many times they’ve played their current phrase and where the other four players are in the piece. It chooses whether to stay with the phrase or move ahead. If the choice takes too long, the player repeats the phrase to keep time.

Finding a path through V

In 2024 I released Latent. To make its closing track, V, I gave AudioLDM the same prompt again and again. Each take sounded a little different. I sorted the takes by how much they sounded like one another, then stitched them together into a single seventeen-minute piece.4

What would V sound like if a decision model could choose the next fragment as you listened? I cut the recording into fragments of up to 15 seconds, using quiet gaps where I could and short crossfades where a sound carried across a cut. Press Start and the model finds a path through the fragments. As in In C, the material stays the same, but each performance can sound like a different piece.

1.0

Lower settings favor the model’s first choice. Higher settings give other paths more chance. Changes apply to the next undecided transition.

Nearby dots sound similar. Thicker green lines lead to fragments that are more likely to play next. Thinner green lines lead to less likely choices.

  • Fragment
  • Playing
  • Already heard
  • Queued next

How the next fragment is chosen

You start at a random fragment. While it plays, the model scores up to five unheard fragments, including close matches, a contrast, and the next unheard piece in the original order. At zero variety the highest score wins. At one the player samples the model’s original probabilities. Each fragment plays once, and the walk ends when you’ve heard them all.

Before playback, I used a music model to compare how each fragment ends with how the others begin. As you listen, the decision model weighs how similar the sounds are, whether the next fragment is louder or brighter, and what you’ve already heard.