Crate boundaries¶
ravet-foundation owns the processor lifecycle, validated preparation limits,
borrowed planar audio, events, transport types, and validated borrowed parameter
schemas with fixed-size complete state and explicit migration. ravet-signal owns reusable
numerical components: a linear smoother, prepared double-precision delay and
feedback diffusion, fixed streaming 2x half-band conversion, and caller-owned
quadrature rotation, stable biquad filters, prepared complex FFT/FIR convolution
and selectable 1x/2x/4x/8x oversampling, phase oscillators, peak compression
and arbitrary-ratio sinc conversion. See signal processing. Neither requires
a host or platform backend. ravet-surface supplies portable parameter attachments and contains an independently built
macOS Cocoa/WebKit native backend. ravet re-exports these three modules.
The explicit ravet-webview crate owns its Cargo/FFI binding, and is not part
of the umbrella graph.
ravet-gain implements the gain product using those portable contracts.
ravet-clap translates Clack's safe host audio and event views into that
contract. ravet-gain-clap owns plug-in metadata, ports, parameters, threading,
and the exported CLAP entry. ravet-clap-smoke is a development loader and host.
The umbrella crate does not re-export the CLAP adapter.
Proprietary consumer products live in separate private sibling projects and are not workspace members. Only general reusable components enter the public framework; see publication policy and prepared DSP decision.
Portable processing adds pinned pure-Rust libm for foundation parameter math
without std; default desktop mappings retain their existing math behavior.
Other portable DSP dependencies remain local workspace crates. The explicit
ravet-data package adds bounded XML, hashing, and legacy integer verification
through pinned quick-xml, sha2, and num-bigint dependencies; these allocating
services stay on control/worker threads. See control data
and native editor for the new boundaries. The safe CLAP
bridge depends on Clack, while the export and smoke host isolate narrowly
allowed unsafe ABI operations. See the
CLAP decision for dependencies
and foreign-pointer responsibilities.
The explicit ravet-state crate owns allocating transactional trees, undo/redo,
revision subscriptions and complete preset records on control threads.
ravet-audio-file owns bounded WAV/AIFF worker I/O and optional compressed clips and prepared SPSC audio handoff;
file methods never run in callbacks. ravet-instrument adds portable fixed-capacity
voice ownership and configured per-note expression, leaving DSP and device/format
exports to consumers. The explicit ravet-graph schedules owned portable nodes and prepared latency
routes; its distinct fault status exposes partial node progress rather than
claiming whole-graph DSP rollback. These crates are not implicitly re-exported
by the umbrella.
The explicit ravet-native-dsp crate owns scoped current-thread floating-point
policy and explicit packed/vector operations behind private native modules; it is
not re-exported by the umbrella. See native DSP.
Native format reference wrappers use the explicit public ravet-gain-native
and ravet-performance-native archives; their SDKs stay external. See observable state,
audio files, MIDI, VST3,
AudioUnit, AAX and LV2.