AUDIO
Source snapshot · 11 November 2026

Portable MIDI short messages

Sine factory program recall

The public SINE_PROGRAMS catalogue contains three complete level states at MIDI bank 0: program 0 Default (0.2), 1 Quiet (0.05), 2 Full (1.0), with permanent IDs 1..3. SineInstrument::programs() returns its validated immutable bank. Bank/program requests are staged by the existing receiver policy independently of SineOptions. With default SineOptions { apply_midi_programs: true }, only the chosen side's master (channel 0 lower, 15 upper) applies those requests to Level, including before MPE negotiation. This is one global reference level, not sixteen different channel patches. Other channels and unavailable addresses preserve level. Recall preserves sounding voices, oscillator phase/envelopes, zone/ranges and release tails. Level automation and programs obey event order with no smoothing; reset/reprepare/System Reset clear pending banks while keeping level. Accepted RPN6 zone configuration also clears selectors/requests; RPN0 range-only updates preserve them. Program identity is not persisted or inferred from custom level edits.

SineInstrument::with_options and SineInstrument64::with_options can explicitly disable automatic program-to-Level replacement. Bank/program requests and ordinary voice/pedal/RPN/MPE negotiation remain observable; accepted global Level remains controlled by explicit automation/recall. The separate MidiSine native/AAX reference uses that policy and complete Level-only state, rather than inventing host program menus.

The CLAP reference receives these changes through process MIDI events, reflects the resulting level into its existing complete state and coalesces changed active level publication into a main-thread value rescan. No host program menus, General MIDI sound bank, per-channel patches or sample/asset loading is added. See decision 0081.