Explicit VST3 performance output¶
Optional C++17 RavetVst3PerformanceOutput.hpp maps canonical native records to
one explicit SDK event bus. nativePerformanceOutput leaves failed destinations
unchanged. Concrete On/Off and scoped Off with concrete channel/key retain exact
widened f32 velocity. ID-only standard expressions map physical volume/4 and
tuning/240+.5 to SDK normalized units; other supported scalars retain f64.
Tuning conversion may round through its floating unit arithmetic. Volume rejects
subnormal rounding/underflow using integer IEEE significand checks, including
under fast-math; tiny positive volume never silently becomes mute. Pressure
requires concrete channel/key, optional ID and exact widened f32 value.
Concrete SDK note IDs preserve int32 bits except UINT32_MAX, which would become SDK's absent-1 sentinel and therefore rejects. Standard expressions require ID-only scope because SDK has no channel/key fields for them. Wildcard/scalar precision loss, note choke/end, MIDI/UMP/SysEx, parameters and text/int expressions reject; no release is substituted for completion. SDK ppq/flags/length/tuning metadata default to zero rather than being inferred from transport or history.
deliverNativePerformanceOutput preflights the entire bounded ordered native
stream before any addEvent. At most1024 SDK events occupy stack scratch. A host
can mutate its SDK arguments without changing native source storage. Host refusal
returns exact delivered/undelivered counts, retains rendered DSP and accepted
host prefix, and discards the suffix without replay/retry/rollback. Null host
accepts an empty stream only. Gain has no performance output and does not adopt
this helper; consumer bus declarations, metadata/voice policy and host validation
remain explicit. See decision0161.