CAST · WANDER · generative ambient

Music that composes itself.

A Markov chain picks the next chord. A weighted-random walk plays the lead. The pad slowly opens and closes. Click play. Walk away. The piece keeps writing itself.

click play

— : —

how often lead notes play (40% — sparse)

56 BPM — slow walk

How it composes

  • Markov chain — each chord knows which chords commonly follow it. Probabilistically picks one. I → IV (35%) · V (30%) · vi (25%) · ii (10%) — that kind of thing.
  • Mood swaps the chord palette + transition weights. Serene: lots of suspended chords. Bittersweet: minor 7ths. Bright: dominant 7s with quick resolution.
  • Pentatonic lead — note choice is constrained to the mode's pentatonic, so it always fits. Density slider controls how often a note fires per beat.
  • Pad — slow filter envelope opens through each chord, closes at the change. The "breathing" feel.

Spacebar toggles play. The piece runs as long as the tab is open — but pause it when you close it; iOS will sleep the tab anyway.