truce-rack-core
Core traits and types for the truce-rack audio plugin
host framework. Defines the format-agnostic PluginScanner,
PluginCore, Plugin<S>, and PluginEditor trait surface every
per-format wrapper crate adapts plugins into. No FFI — depends on
nothing platform-specific.
Per-block state flows through ProcessContext, including the
optional TransportInfo host transport snapshot (tempo, time
signature, song position, bar start, play / record / loop state)
that each wrapper maps onto its backend's native transport.
Companion crates
Per-format wrappers all live in the same workspace:
truce-rack-clap— CLAPtruce-rack-vst3— VST3truce-rack-au— Audio Unit v2 (Apple)truce-rack-au3— Audio Unit v3 (Apple)truce-rack-lv2— LV2truce-rack-standalone— reference cpal + baseview hosttruce-rack-test— assertion helpers
Usage
[]
= "1.0"
= "1.0" # add one wrapper per format you need
use PluginScanner;
use ClapScanner;
let plugins = new.scan?;
for plugin in &plugins
License
MIT or Apache-2.0, at your option.