T-041 — Fix piano host integration and real-time clone behavior

Status: done · Area: rust · Depends on: T-008, T-009

Read for that: T-008, T-009, Plugin formats.

What: Address GitHub issues #12–#16 covering CLAP note addressing, idle Gain changes, velocity-zero note-on, engine cloning and editor visibility.

Done when: Host, engine and X11 regression checks cover these behaviors and the repository gates pass.

Implementation

  • Wildcard releases use the damper path, and choke preserves the pedal. CLAP velocity-zero strikes use the low end of the engine’s velocity curve. MIDI velocity zero still releases the key. T-043 extends note routing to overlapping addresses on the same physical key.
  • The editor requests a host parameter flush when Gain or its gesture changes. The inactive flush, active flush and process callbacks can all deliver the editor’s events.
  • The editor maps and unmaps its child window through baseview’s show and hide methods.
  • The engine’s active span list uses fixed-size scratch space, including after a clone.

Verification

The pinned Rust shell passed formatting, Clippy and all 54 nextest tests. The release bundle passed CLAP validation with 35 passes, zero failures and nine skips. The X11 smoke test verified hide and show with the parent mapped. The Julia suite passed all 2,230 tests.