← Home
lineage · 2026-10-24 · a short historical record, part of the lineage
lineage petri-nets music beats-bitwrap mcp swift

beats-btw-dj: the Petri-net sequencer, native on the Mac

Lineage, 2026-10-24. A short historical record: on 2026-11-24 the full entry was cut down to the idea, what it led to and what replaced it. The lineage puts every step in order.

When Petri Nets as a Music Sequencer went to Hacker News, one objection was plain: the browser demo was off the beat. In October 2026 beats-btw-dj was the second attempt, a Mac app in Swift where each deck runs a live Petri net. Its generator was ported from beats.bitwrap.io and held to the browser's CIDs and bytes by fixtures generated from the real JavaScript, so the same track was the same track on both. It played through sampled instruments, and the post said its musical changes were measured, not yet confirmed by ear.

The part that lasted was the MCP server. The app listened on a local socket, and a 27-tool MCP server over it let Claude do everything the buttons did: load and perform decks, plan a set on an energy curve, and compose. Claude played the instrument by writing tracks as text.

Writing a whole track as text is what BeatScript became: a small, total, deterministic language, one line per deck, where Claude writes and checks the program and a person chooses what to keep. It is the same Claude-driven IDE idea as pflow's, applied to music (the lineage).

Lineage step beats-btw-dj · dataset id 6759 · the step in the pflow ontology · as JSON-LD

×

Follow on Mastodon