beats.bitwrap.io — Petri-net beat sequencer
beats.bitwrap.io is a browser beat sequencer whose arrangement is a Petri net: every note is a transition firing, and every rhythm is tokens circulating through places. Generate a track by genre (ambient, blues, bossa, country, dnb, dubstep, edm, funk, garage, house, jazz, lofi, metal, reggae, speedcore, synthwave, techno, trance or trap), perform macros live, and share a content-addressed render licensed CC BY 4.0. The same genre and seed give the same track every time, offline: the music comes from seeded PRNGs, Euclidean rhythms, music-theory rules and explicit Markov chains with hand-tuned weights. No accounts, no AI.
The studio itself needs JavaScript and Web Audio. Enable JavaScript to generate, play and share tracks.
Around the site
- Compose — multi-track composition view for arranging shared tracks on a timeline.
- Feed — recently shared tracks, also as an RSS feed.
- Archive — snapshot archive of the share store.
- llms.txt and the full guide — how the Petri nets make music, the share envelope and the arrangement DSL.
- Share schema — JSON-LD context and JSON Schema for the BeatsShare v1 envelope.
- Source on GitHub — Go server and vanilla ES modules, no npm and no bundler.
Docs
- Control category — category-theory index with beat at the root and generators, instruments, macros, control actions, arrange, perform and share as branches.
- Macro category — the live-performance macro catalog as a free monoidal category.
- Beat hub — macros visualised as endomorphisms on a single object: Beat.
- Anatomy of a .webm — categorical decomposition of the .webm audio object.