ORIX Sonata — Roadmap
State on 2026-11-24: M0 to M7 reached for version 0.1.0, with the gaps listed in STATUS.md
(notably M3: no recording and no audio-region editing; M6: no long-run or accessibility pass).
M8: packages and the assistant are in; Audio Units are not.
Next, in order: (1) the owner's listening pass and a hand pass through every space; (2) fix what that finds; (3) recording and audio regions; (4) true-peak limiting and a multithreaded engine; (5) French interface; (6) Audio Units hosting.
Milestones of the mandate and where each section is addressed. STATUS.md says what is
actually done; this file says what is planned.
| Milestone | Content | Exit proof |
|---|---|---|
| M0 audit | inventory, ADR 0001/0002, workspace, contracts, risks | cargo test green, first commit |
| M1 vertical slice | source → compile → piano + synth audible → WAV → real waveform → playback in the app | sonata render Examples/aurora.sonata, file verified with ffprobe/afinfo, app plays it |
| M2 language + runtime | types, tempo, polyphony, effects, CLI, diagnostics, examples | examples compile in tests, CLI golden outputs |
| M3 studio | timeline, transport, mixer, editing, .sonataproject persistence |
open → edit → save → reopen round trip test |
| M4 WaveLab | oscilloscope, FFT, spectrogram, validated measures, then 3D waterfall | FFT validated on known sines; PNG/CSV export |
| M5 instruments + docs | library, Instrument Lab, runnable tutorials, Score, exports | every doc example compiled by tests; MusicXML/MIDI validated |
| M6 robustness | performance, accessibility, security, recovery, long runs | benchmark report with percentiles |
| M7 release | signing, notarisation, DMG, checksums, smoke test, final report | notarytool Accepted, stapler + spctl |
| M8 extensions | packages, Audio Units, AI, advanced acoustic models | per feature |
Mandate traceability
| § | Topic | Where |
|---|---|---|
| 2 | Eight spaces + optional AI | Packages/SonataUI (one module per space) |
| 3 | Language | Documentation/spec/, crates lexer → semantics, StandardLibrary/ |
| 4 | Compiler, LSP, hot reload | sonata-compiler, sonata-lsp, sonata-runtime (swap) |
| 5 | Audio engine, DSP, effects, mixing | sonata-dsp, sonata-runtime |
| 6 | Instruments, Instrument Lab | sonata-instruments, Documentation/acoustics/, UI |
| 7 | Studio | Packages/SonataUI/Studio, Packages/SonataProject |
| 8 | WaveLab | sonata-dsp::analysis, Packages/SonataUI/WaveLab |
| 9 | Editor and macOS experience | Packages/SonataUI/Code, app shell |
| 10 | Score and interchange | sonata-interop, Packages/SonataUI/Score |
| 11 | Embedded documentation | Documentation/manual/, Examples/ |
| 12 | CLI and packages | sonata-cli |
| 13 | Project format, privacy | Packages/SonataProject, Documentation/spec/project-format.md |
| 14 | Sonata AI | Packages/SonataUI/Assistant (M8) |
| 15 | Tests, validation, benchmarks | crate tests, Tests/, Benchmarks/ |
| 16 | Signing, notarisation | Scripts/, Distribution/ |