Expand description
Minimal LV2 wrapper for AURA.
Spec: lv2plug.in — bindings lv2-sys.
ⓘ
aura_lv2::export_lv2!(MyPlugin);Bundle layout (written by cargo aura install --lv2):
name.lv2/
manifest.ttl
plugin.ttl
<binary> # smoke_gain.dll / libsmoke_gain.so / …Reduced PluginLogic subset vs CLAP/VST3: only the first
bus_layouts() entry; no latency/tail/presets/transport parity; control
ports update once per run (not sample-accurate CHUNKED).
Port map (first layout): mono → 0 in · 1 out · 2+ controls; stereo →
0/1 in · 2/3 out · 4+ controls (+ sidechain/aux channels when declared).
MIDI atom ports append after controls when accepts_midi_in /
emits_midi. State: shared aura_core::encode_state blob. GUI: same
Editor as CLAP/VST3 via lv2ui_descriptor.
Macros§
- export_
lv2 - Export
$logicas this cdylib’s LV2 entry (lv2_descriptor+lv2ui_descriptor).
Structs§
- Bundle
Ttl - Files to write into
<name>.lv2/next to the shared library.
Functions§
- bundle_
ttl_ for - Generate TTL for
$logicand the given shared-library stem (crate name with-→_). - bundle_
ttl_ from_ parts - Non-generic install helper: TTL from free functions + binary stem.
- descriptor
- Public for the export macro / tests.
- generate_
ttl - Generate
manifest.ttl+ plugin TTL for a main-bus FX with control ports. - generate_
ttl_ with_ layout - Like
generate_ttlbut with an explicit main-bus layout. - generate_
ttl_ with_ layout_ and_ ui - Like
generate_ttl_with_layoutbut optionally declares an LV2 UI. - plugin_
uri - Plugin URI:
PluginInfo::lv2_urior derivedhttps://lx-audiolabs.com/lv2/<bundle_id>. - ui_
descriptor - LV2 UI descriptor — returned by
lv2ui_descriptor.