lilv.plugin
Types 2
classPlugin
An LV2 plugin.
Methods
PluginClass pluginClass() @propertyGet the class this plugin belongs to (like “Filters” or “Effects”). Returns: Plugin class nameNodes getValue(Node predicate)Get a value associated with the plugin in a plugin’s data files. Params: predicate = must be either a URI or a QName.bool hasFeature(Node feature) @nogc nothrowReturn whether a feature is supported by a plugin. Returns: This will return true if the feature is an optional or required feature of the plugin.Nodes supportedFeatures()Get the LV2 Features supported (required or optionally) by a plugin.Nodes requiredFeatures()Get the LV2 Features required by a plugin.Nodes optionalFeatures()Get the LV2 Features optionally supported by a plugin.bool hasExtensionData(Node uri) @nogc nothrowReturn whether or not a plugin provides a specific extension data. Params: uri = The URI of the extension data Returns: true if the plugin has the given extension dataNodes extensionData()Get a sequence of all extension data provided by a plugin.void getPortRangesFloat(float[] minValues, float[] maxValues, float[] defValues) @nogc nothrowGet the port ranges (minimum, maximum and default values) for all ports.Port portByIndex(uint index)Get a port on plugin by index. Params: index = Port index Returns: The port or nullPort portBySymbol(Node symbol)Get a port on plugin by symbol. Note this function is slower than portByIndex(), especially on plugins with a very large number of ports. Returns: The port or nullPort portByDesignation(Node portClass, Node designation)Get a port on plugin by its lv2:designation.Node authorName()Get the full name of the plugin’s author.Node authorEmail()Get the email address of the plugin’s author. Returns: null if author email address is not present.Node authorHomepage()Get the address of the plugin author’s home page. Returns: null if author homepage is not present.bool isReplaced() @nogc nothrowReturn true if plugin has been replaced by another plugin. The plugin will still be usable, but hosts should hide them from their user interfaces to prevent users from using deprecated plugins. Ret...Instance instantiate(double sampleRate, const(LV2_Feature *) * features = null)Instantiate a plugin.Instance instantiate(double sampleRate, Feature[] features = null)Instantiate a plugin.Constructors
this(const(LilvPlugin) * p, World world)Destructors