Playback flow (rep/end), ported from pico-scroll: - At each master-bar boundary, after bars*rep cycles the end-action fires: end=stop stops; end=next / end=+N advances through the set list. - The next track is preloaded one bar early (parsed + per-lane durs) into a pending slot, then swapped at the exact seam (master lane bar boundary; all lanes restart there) for a gapless handoff. load()/manual nav clears pending. MIDI clock out (default on, so a DAW can slave to the Grid): - 24-PPQN 0xF8 against the wall clock + 0xFA/0xFC Start/Stop on play/stop (button or live-sync). Queued on tx_q as CIN 0xF single-byte packets. Deferred items needing persistent storage (no CIRCUITPY drive in the Rust build, needs a flash KV layer - separate milestone): practice log, settings.json, SLSYNC/LOGSYNC. Also deferred: MIDI clock in, optional piezo. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| assets/bravura | ||
| glyphgen | ||
| pm-grid | ||
| pm-kit | ||
| pm-ui | ||
| track-format | ||
| uisim | ||
| .gitignore | ||
| Cargo.toml | ||
| Containerfile | ||
| probe-flash.md | ||
| README.md | ||
| run.sh | ||
Rust port — track-format crate (Stage 1)
Pure parse/serialize codec for the track DSL, validated against the shared golden
vectors (tests/fixtures/track-format.json) — the third implementation alongside
engine.js and app.py. See docs/rust-port.md for the staged plan.
All tooling runs in a container (per the develop-in-container rule):
./rust/run.sh # cargo test — runs the conformance + idempotency suite
./rust/run.sh cargo build
./rust/run.sh bash # interactive shell in the crate