Infinite Piano Solo

Can algorithms improvise?

Infinite Piano Solo has been playing for a few minutes and never stopped. Like an endless Köln Concert. Nothing is recorded: each note is written a moment before you hear it.

Live Composer

It runs here in the browser. Every few minutes it begins a new piece in one of eight idioms: Vamp, Folk Air, Miniature, Pulse, Baroque, Nocturne, Blues or Maqam, each with its own meters, left hand and ornaments.
Each piece has a form (intro, themes, a wander, sometimes a canon or a fugue, a build, etc) and is written out a bar at a time. The rest is arranged on the fly, following some basic rules, grounded in music theory.

Rule 1 • Motifs come back, moved

A theme is two short cells. Here the first returns one step higher over the next chord. Returning sounds intentional; changing sounds improvised.

Rule 2 • Chords glide

Each chord takes the voicing that moves the fewest notes from the last. Common tones hold, the rest step.

Rule 3 • Strong beats on chord tones

Notes on the beat land on the chord (black). Notes between are free to pass through the scale (gray).

Rule 4 • Each style has its gestures

Baroque mordents, Nocturne appoggiaturas, Folk turns, the blue third sliding up.

A human touch

Then it plays like a real pianist: the tempo breathes and slows at phrase ends, the touch varies on every note, the pedal is played, and each piece starts in a key close to the last, so an hour sounds like one set.

Procedural Cover Art

Each piece gets a record sleeve. Inspired by jazz LPs' iconic art direction, from Reid Miles at Blue Note to Barbara Wojirsch at ECM. All created on the fly, improvised.

The recipe: a photo, a layout, an idiom's ink and an invented pianist.

  1. Photo
  2. Orange filter
  3. Levels, lens
  4. Grain, S curve
  5. Burn, dust
  6. On color

No generative AI, just a classic graphic design recipe. Black and white through an orange filter; levels crushed; an old lens distortion; film grain and a hard S curve; glowing highlights, a burned-in vignette and a little dust. The pianist, track and album are invented.

A never-ending stream

Everyone who opens this page hears the same music at the same moment. Each hour is composed from its own seed, so any browser can write any hour without knowing what came before. Your clock decides where you join.

Credits

Piano: Salamander Grand Piano by Alexander Holm, CC BY 3.0.
Photos: Wikimedia Commons featured pictures