Skip to main content

Crate sim_lib_plugin_vst3

Crate sim_lib_plugin_vst3 

Source
Expand description

VST3-shaped plugin export adapters for SIM audio graph processors.

Modeled tier, no native hosting. This crate is a pure-Rust, in-process MODEL of the VST3 plugin format: the workspace forbids unsafe and the crate carries no -sys/FFI dependency, so export_*_as_vst3 produces descriptors, not native .vst3 binaries, and no plugin loading occurs. Native export and hosting are deferred; current_vst3_scope names the blockers and SDK requirements. The modeled tier is flagged by the default-on model feature.

use sim_lib_plugin_vst3::vst3_gain_vst3_descriptor;

let vst3 = vst3_gain_vst3_descriptor().unwrap();
assert_eq!(vst3.buses.len(), 3);

let descriptor = vst3.to_plugin_descriptor().unwrap();
assert_eq!(descriptor.id.format.as_str(), "vst3");

Structs§

Vst3Bus
A VST3 input or output bus.
Vst3EventBuffer
An ordered buffer of VST3 events for one processing block.
Vst3ExportedProcessor
A graph Processor wrapped as a VST3-shaped plugin instance.
Vst3ParamInfo
A VST3 parameter declaration.
Vst3ParamMap
A mapping from host-facing VST3 parameter ids to SIM parameter ids.
Vst3PluginDescriptor
A VST3-shaped plugin descriptor.
Vst3PluginLib
Host-registered lib exporting the VST3 adapter cards, built on the shared SurfacePackLib substrate.
Vst3ScopeDecision
A record of what VST3 support is and is not in scope for this crate.

Enums§

Vst3BusKind
The medium carried by a VST3 bus.
Vst3Event
A VST3 input event for one processing block.
Vst3HostingDecision
The current stance on native VST3 plugin hosting.

Functions§

current_vst3_scope
Returns the current VST3 scope decision for this crate.
export_gain_as_vst3
Exports the built-in gain processor as a VST3-shaped plugin instance.
export_processor_as_vst3
Exports any graph Processor as a VST3-shaped plugin instance.
install_vst3_plugin_lib
Installs the Vst3PluginLib into cx, registering its adapter cards once.
vst3_gain_descriptor
Builds the gain fixture as a plugin-core PluginDescriptor.
vst3_gain_vst3_descriptor
Builds the built-in VST3 gain fixture descriptor.
vst3_plugin_symbols
Returns the qualified symbols this lib exports, one per VST3 adapter card.