markovplayground A LITTLE MUSIC. A LITTLE CHANCE. How it works

AN INSTRUMENT FOR CURIOUS EARS

Follow the unexpected.

A sound leads to another. Then somewhere new.
Make a little universe of music. No right notes required.

Choose a world, then press Play. Everything happens on your device.

YOUR SOUND CONSTELLATION

Slow orbit

READY TO WANDER
Each light is a sound. Each path is a possibility.
THE PATH SO FARYour journey starts with a click.

PULL A THREAD

What happens next?

Choose a sound to explore its possibilities. Move a weight to give a path more or less chance.

As learned · each choice depends only on the current sound.

BRING A LITTLE INSPIRATION

Your music, new possibilities.

Let the playground learn from a score or MIDI file. Choose one part and hear the sounds it learns.

Your files stay on your device.

SOMETHING TO COME BACK TO

A shelf of tiny universes.

Save the sounds, chances, and frozen moment. Reopen them here, or take a toy file with you.

Your saved worlds will appear here.

Browser saves stay in this browser. Download a toy to keep a portable copy.

BEHIND THE LITTLE LIGHTS

Music with a one-sound memory.

01

A sound becomes a place

Each light is a note, a chord, or a silence with a particular length. The same notes held for a different length become a different place.

02

Listening makes the paths

The playground counts which sounds follow each other in a source. If a sound went to one neighbor three times and another once, their chances are 75% and 25%.

03

Chance takes a walk

A seeded random draw picks a path. Only the current sound matters to the next choice. That is the Markov principle: a one-sound memory, with room for surprise.

The first sound is drawn from how often sounds appeared in the source. A one-beat rest connects the end back to the beginning. Those added paths keep the walk going; they do not change starting frequencies.

Surprise and your edits reshape the learned chances. Freezing repeats a captured walk instead of making new choices. Imported overlapping notes become chord snapshots; held notes can sound again when another note changes.

Inspired by Ilana Shapiro and Mark Huber, Markov Chains for Computer Music Generation (2021). The built-in motifs and synthesizer were created for this playground.