AUDIO
Source snapshot · 11 November 2026

VST3 exports

Explicit VST3 performance input

Optional C++17 RavetVst3PerformanceInput.hpp consumes an external SDK event list for one explicit bus. nativePerformanceInput translates one event into one or two canonical native records; rejected/ignored results preserve the destination and count. visitValidatedPerformanceInput reads each event once, validates the complete raw list, and stages at most1024 expanded native records before calling a visitor. Offsets are globally ordered; ties and expansion order remain intact. Zero-frame offsets must be zero. Scratch needs56KiB plus bounded local records; host/visitor callbacks retain their own thread obligations.

On/Off preserves f32 velocity without MIDI quantization and treats velocity-zero On as On. SDK note ID-1 means absent; every other int32 identity, including the SDK plug-in negative range, retains its bits in portable u32. Finite cents within +/-12000 expand into semitone tuning after On or before Off when nonzero. Optional note length is a hint only; no Off is inferred. SDK ppq/flags are unrepresented. Poly pressure becomes channel/key/optional-ID scoped physical pressure. Standard expression values are normalized0..1: volume maps to linear value4 (including zero mute), tuning to240(value-.5) semitones; pan/vibrato/expression/brightness retain f64. Expression events require a concrete ID; no voice state is inferred.

UnknownExpressionPolicy::Reject is default policy by explicit argument; Ignore filters unknown kinds only after validating ID and normalized value. Other selected types (SysEx, text, integer expressions, chord/scale, legacy MIDI output) reject. Unselected payloads filter after common bus/timing/order checks. A visitor refusal may retain earlier visitor effects: use private prepared scratch and defer DSP/state/output publication until success. Gain has no performance input bus and does not adopt this helper; a consumer must declare compatible buses and expression metadata. No SDK instrument export, voice application, output delivery or DAW evidence follows. See decision0160.