- 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>
22 lines
393 B
Makefile
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
|