From 5381765a08a808eae88babc897911c3d19d0b32c Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 16 Jun 2026 19:13:28 +0000 Subject: [PATCH 1/6] feat(web): load your own MIDI tab in the playground Let part A come from a user-loaded MIDI file instead of only the built-in sample, then arrange a complement over any of its tracks. - New import-free C-ABI exports input_alloc / load_score / load_len marshal the uploaded bytes in and a track summary out through linear memory; the parsed Score is stashed for subsequent arrange() calls. - arrange() gains a track selector (track < 0 = built-in sample, track >= 0 = a track of the loaded score), reading ppqn/tempo off the source. - MIDI only for now: griff-core's MIDI import is always available, so the wasm stays import-free (WebAssembly.instantiate(bytes, {})); Guitar Pro needs a getrandom backend that avoids wasm-bindgen and is a follow-up (ADR-0024). - UI: file input + track + + + +