AUDIO
Source snapshot · 11 November 2026

API reference / ravet_plugin::product

Module product 

Expand description

Product and parameter descriptions shared by every export format.

Structs§

AuxiliaryBus
An audio bus in addition to the main bus, such as a sidechain input or an extra output of a multi-output instrument.
Editor
A web editor: one HTML page and its size in logical pixels.
EditorAsset
A file the editor page loads by relative URL, embedded in the binary, for example EditorAsset::new("img/knob.png", include_bytes!("../editor/img/knob.png")).
NotePorts
Note and MIDI ports the product exposes.
Parameter
One parameter, identified permanently by its key.
Product
Everything formats need to describe one plug-in.
ResolvedProduct
A validated product with resolved parameter IDs and format identities.
StateFormat
Format and version of the saved state, see crate::state.

Enums§

Category
The host-facing role of a product.
ParameterRole
How a parameter behaves for hosts.
Precision
Processing precisions the product implements.
ProductError
Reasons a product description is rejected. Indices refer to declaration order.

Constants§

MAXIMUM_BUS_NAME_BYTES
Most bytes in an AuxiliaryBus name.
MAXIMUM_EDITOR_ASSETS
Most editor assets per product.
MAXIMUM_EDITOR_ASSETS_TOTAL_BYTES
Largest total size of a product’s editor assets (256 MiB).
MAXIMUM_EDITOR_ASSET_BYTES
Largest single editor asset (64 MiB).
MAXIMUM_EDITOR_HTML_BYTES
Largest accepted editor page.
MAXIMUM_KEY_BYTES
Maximum length of a parameter key, matching the LV2 symbol limit used here.
MAXIMUM_PARAMETERS
Maximum parameters per product, matching the native table limit.

Functions§

derive_parameter_id
Derive a parameter ID from its key: 32-bit FNV-1a with the top bit cleared, so every format can represent it. This derivation never changes.