# Miso Score

> Documentation for Miso Score and the Flow notation language: deterministic Zig/WASM music engraving, browser editing, on-device System 1 drafting, and MCP automation.

Miso Score is a music engraving engine, browser editor, and part-distribution system built around Flow. Flow splits score authoring into four sublanguages: Flow Notation (bare lines for music and edits), Flow Layout (`layout <book>` for per-book engraving overrides), Flow Style (`style` for house styles and book keys), and Flow Project (`project` and `in <N>:` for credits, books, players, acts, numbering, segues, and multi-number fan-out). The envelope adds `then` to separate sequential edits and `#` comments/replies (`# ask:`, `# alt:`, `# no edit`, `# out of scope:`).

Reading order: Flow Overview, Flow Notation, Flow Layout, Flow Style, Flow Project, Quick Reference, Score Editor, System 1, MCP Server. Every bar of every staff must sum to its active meter; octaves are encoded in letter case and marks (`C,,`, `C,`, `C`, `c`, `c'`, `c''`), never digits; accidentals do not carry across bars; keys are written in concert pitch while transposing staves hold written notes.

## Flow Language

- [Overview](https://docs.score.miso.fm/flow/index.md): The four Flow sublanguages (Notation, Layout, Style, Project), linked parts, the `then` edit boundary, comments, non-edit replies (`# ask`, `# no edit`, `# out of scope`), and deterministic engine refusals.
- [Flow Notation](https://docs.score.miso.fm/flow/notation/index.md): Document head, places and staff selectors, bar lines, pitches and octaves, lengths, chords, ties, slurs, tuplets, voices, marks, hairpins, fields (`ch`, `at`, `lyr`, `fig`, `rn`, `fn`), frame lines, transposition, percussion/tab/strings/brass, and edit verbs (`add`, `del`, `pitch`, `dur`, `put`, `clear`, `copy`, `cue`, `transpose`, `respell`, `cut`, `insert`, `rename`).
- [Flow Layout](https://docs.score.miso.fm/flow/layout/index.md): Per-book layout overrides (`break`, `nobreak`, `space`, `nudge`, `hide`/`show`, `condense`, `small`, `turn`, `look`, `stem`, `tuplet`) without changing the music.
- [Flow Style](https://docs.score.miso.fm/flow/style/index.md): Built-in house styles (`parts`, `broadway-pc`, `film`, `miso`, `miso-film`), project-wide keys, custom house inheritance (`style house ... extends ...`), book-level overrides (`style book`), and the seven-layer resolution order.
- [Flow Project](https://docs.score.miso.fm/flow/project/index.md): Credits, part books, players, `fixed` vs. `auto` bar numbering, acts, segue cautionaries (`project next`), revision dates and versions, and atomic or lenient multi-number fan-out (`in <N>:` / `in all?:`).
- [Quick Reference](https://docs.score.miso.fm/flow/reference/index.md): Compact one-page Flow syntax cheat sheet for humans and AI agents.

## Editor

- [Score Editor](https://docs.score.miso.fm/editor/index.md): Galley and Page views, score and part book switching, Dorico-familiar keyboard workflow, offline WASM and OPFS draft journal, and cryptographic collaboration (`kept`, `sent`, `seen` states with Ed25519 device approvals).

## AI & Automation

- [System 1](https://docs.score.miso.fm/ai/system-1/index.md): On-device Ettin-17m ONNX drafter (27.6 MB int8, 64 frames), mechanical assembly, engine-judged verification, 0.95 confidence gate, and held-out Flow 1 v5n benchmarks.
- [MCP Server](https://docs.score.miso.fm/ai/mcp/index.md): Connecting Claude Code, Claude Desktop, and agents to live `notate session` processes over stdio MCP, full tool reference, and the preview/apply/readback/check verification loop.

## Complete Text

- [Complete Documentation](https://docs.score.miso.fm/llms-full.txt): All Miso Score documentation pages in one text file, generated from the site's Markdown.

## Apps

- [Miso Score App](https://app.score.miso.fm): Live Miso Score web application.
- [Miso Score Demo](https://demo.score.miso.fm): Interactive public demo featuring Quill Street.
