Skip to main content

Crate aura_lv2

Crate aura_lv2 

Source
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 $logic as this cdylib’s LV2 entry (lv2_descriptor + lv2ui_descriptor).

Structs§

BundleTtl
Files to write into <name>.lv2/ next to the shared library.

Functions§

bundle_ttl_for
Generate TTL for $logic and 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_ttl but with an explicit main-bus layout.
generate_ttl_with_layout_and_ui
Like generate_ttl_with_layout but optionally declares an LV2 UI.
plugin_uri
Plugin URI: PluginInfo::lv2_uri or derived https://lx-audiolabs.com/lv2/<bundle_id>.
ui_descriptor
LV2 UI descriptor — returned by lv2ui_descriptor.