Miso Score is a music engraving engine, browser editor, and part-distribution system built around the Flow notation language.
Architecture
One deterministic Zig engine powers the browser editor, the CLI, and the MCP server. Every edit compiles to canonical Flow text, runs through the same engraver, and produces identical bytes on every machine.
| Component | Implementation | Role |
|---|---|---|
| Engraving engine | Zig compiled to native CLI and WebAssembly (simd128 i32x4 skyline kernels) |
Integer-exact spacing, skyline collision resolution, page-turn scoring, SVG and PDF generation |
| Browser renderer | WebGPU painter with Canvas 2D fallback | Renders the engine’s binary display list at frame rate in Galley and Page views |
| Notation language | Flow | Plain-text representation for music, per-book layout, house styles, and project structure |
| On-device drafter | System 1 | Optional Ettin-17m ONNX encoder (27.6 MB int8) that turns rehearsal messages into engine-checked Flow |
| Agent interface | MCP Server | Stdio bridge exposing live engine sessions, previews, engraving, collision checks, and MusicXML I/O |
Explore the Documentation
Flow Language
Learn the four sublanguages — Notation, Layout, Style, and Project — plus the edit envelope. Start with the overview.
Quick Reference
Compact syntax and cheat sheet for humans and AI agents writing Flow. Open Quick Reference.
Score Editor
Galley and Page views, score and part books, Dorico-familiar shortcuts, offline storage, and signed history. Read Editor guide.
AI & Automation
Connect agents through MCP or inspect how System 1 drafts Flow on device. Explore MCP Server.