Subsequence

A generative MIDI sequencer and algorithmic composition engine for Python, engineered for professional-grade timing.

Pattern Generation Without Loops

Unlike hardware that relies on fixed repeating loops, Subsequence rebuilds every pattern fresh before each cycle. Music evolves naturally with full macro-level structural control.

Advanced Algorithmic Power

Access a palette of procedural building blocks directly from code: Euclidean rhythms, cellular automata, L-systems, Markov chains, and biological modeling techniques.

Boundless Capabilities

Leave hardware limits behind. A software engine giving you unlimited tracks and polyphony. It provides the pure MIDI logic; your DAW, Eurorack, drum machines, or hardware synths provide the sound. A hybrid sleep+spin timing strategy achieves typical pulse jitter of <5 μs on Linux - on par with dedicated hardware.

Intuitive Python API

Whether you're an experienced developer or a musician writing your very first lines of code, the API is designed to be accessible, robust, and explicitly readable.