Files
mikael-lovqvists-claude-agent 9aba8057a8 Initial scaffold: ALSA MIDI C backend + Node ESM sequencer web app
- protocol.yaml: SSoT for the binary framing protocol (12 record types)
- codegen/gen.mjs: generates C header/source and Node ESM from protocol.yaml
- c-backend: ALSA sequencer with drift-free clock_nanosleep tick thread,
  pattern store (hierarchical sub-patterns), Unix socket server
- node-server: Express 5 web app — REST API, SSE for real-time beat events,
  step-sequencer frontend with pending-edit / explicit-save flow

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 00:54:38 +00:00

22 lines
393 B
Makefile

PORT ?= 3000
SOCKET_PATH ?= /tmp/midi-sequencer.sock
.PHONY: all install start generate
all: install
install: node_modules
node_modules: package.json
npm install
@touch node_modules
generate:
node ../codegen/gen.mjs
start: node_modules
PORT=$(PORT) SOCKET_PATH=$(SOCKET_PATH) node server.mjs
dev: node_modules
PORT=$(PORT) SOCKET_PATH=$(SOCKET_PATH) node --watch server.mjs