AUDIO
Source snapshot · 11 November 2026

LV2

Prepared LV2 block-start transport

The external-SDK C++17 RavetLv2Transport.hpp collector publishes a canonical RavetNativeTransportV1 only after complete sequence and recognized time-object preflight. Cache its 14 distinct nonzero Lv2TimePositionTypes URIDs on stopped control; collection never calls urid:map. The performance factory advertises time:Position alongside MIDI on its existing Notes and transport Atom input and forwards the direct native snapshot to its processor. Gain retains its effect ports/default profile. The generic helper's fourth template argument defaults to false and requires the existing instrument Atom port when enabled; no effect Atom port or generic bus factory is inferred. The external source SDK must also include include/lv2/time/time.h.

The selected exact scalar encodings are Long time:frame, Double time:beat, Float time:beatsPerMinute, time:speed and time:beatsPerBar, and Int time:beatUnit. Sample positions retain the full signed i64 range without passing through a float. Beat retains its original f64 value, while Float tempo widens exactly and acquires no additional source precision. Beat must be finite, tempo finite positive, and signature numerator finite integral 1..65535 with denominator 1..65535 before conversion. Both signature fields are required to publish a signature; an individually valid incomplete pair remains unavailable while other fields survive. Speed exactly 0 or 1 means known stopped or playing. Reverse, fractional, other and nonfinite speeds reject the block instead of becoming a guessed stopped state.

At most one Position object at frame offset 0 supplies the block-start snapshot. Later timestamped Position objects are fully validated, then omitted; the helper never subtracts offsets, extrapolates a timeline, dispatches mid-block transport or carries fields from previous blocks. An absent/empty block-start Position is unknown transport and reaches native DSP as a null context. Duplicate offset-0 Positions reject. The current performance DSP ignores transport, so this adds a validated format boundary rather than transport-driven musical behavior.

The collector shares the bounded sequence contract: 8-byte-aligned live storage covering a body of 8..65536 bytes, at most 1024 ordered raw events, frame unit 0 or atom:frameTime, and offsets within the active slice (offset 0 only at zero frames). Sequence reserved pad must be zero. Each Position permits at most 128 unique nonzero property keys, including ignored keys. Complete object/property/ padded value extents receive preflight; recognized properties require context 0 and exact scalar type and byte size. Unknown properties and other bounded Atom bodies remain opaque without recursive validation or inferred semantics. Foreign storage must remain live and disjoint from output; address checks do not establish memory ownership. IEEE finite checks inspect foreign representations under optimized fast-math, though the full processor retains its ordinary IEEE build requirement.

A complete native signature requires DETAILS. Its recording, loop and pre-roll false flags are unknown/default placeholders: this vocabulary/profile supplies none of those Booleans, and native DETAILS has no per-flag availability. Consumers must not interpret them as host-known false values. Without a complete signature, DETAILS stays absent. Bar/barBeat/frame rate do not become inferred native bar pairs, global beats or sample conversion; discontinuity, recording, loops, pre-roll, output time objects and tempo ramps have no mapping in this profile.

Malformed recognized fields, including a later Position that would otherwise be omitted, reject before complete-state apply, parameter publication and DSP. Accepted pending recall, connected control intent and native phase/history survive for the next valid block; supported output prefixes are silenced and backing tails survive. The native processor still owns backend failure atomicity after apply. The collector uses bounded local storage without heap, map callbacks, locks or I/O.

Normal and optimized fast-math collector fixtures cover exact sample extremes, f64 precision/signed zero, Float widening, independent/partial/absent context, unsupported speeds, type/context/length/padding/order faults, duplicate keys and objects, maximum property/event counts and prior-output retention. Both exercise actual Rust zero-frame native acceptance of collected snapshots, plus corrupted canonical dependencies. A forwarded native-table fixture proves exact context reaches the real processor and a late fault causes no state-apply/DSP calls, while the default MIDI-only profile retains opaque-time behavior. The actual packaged mono/stereo module verifies mixed Position/MIDI timing, phase/control/pending-state retention, supported silence/tails and 2000 prepared cycles with zero counted C++ heap actions or URI maps. Gain actual-module regressions remain required. These local macOS arm64 checks establish no Linux runtime, DAW discovery/session timeline, metadata validator, device, complete backend allocation or real-time deadline support. See decision 0191.