package lilv

  1. Overview
  2. Docs

Module Lilv.PluginSource

Plugins.

Sourcetype t

A plugin.

Sourceval uri : t -> string

URI of a plugin.

Sourceval name : t -> string

Name of a plugin.

Sourceval author_name : t -> string

Author's name of a plugin.

Sourceval author_email : t -> string

Author's email of a plugin.

Sourceval author_homepage : t -> string

Author's homepage of a plugin.

Sourcemodule Class : sig ... end

Classes of plugins.

Sourceval plugin_class : t -> Class.t

Class of a plugin.

Sourceval is_replaced : t -> bool
Sourceval supported_features : t -> Node.t list
Sourceval required_features : t -> Node.t list
Sourceval optional_features : t -> Node.t list
Sourceval num_ports : t -> int

Number of ports of a plugin.

Sourceval port_by_index : t -> int -> Port.t

Retrieve a port by its index.

Sourceval port_by_symbol : t -> string -> Port.t

Retrieve a port by its symbol.

Sourceval has_latency : t -> bool

Whether or not the plugin introduces (and reports) latency.

Sourceval latency_port_index : t -> int

Index of the plugin's latency port. It is a fatal error to call this on a plugin without checking if the port exists by first calling has_latency. Any plugin that introduces unwanted latency that should be compensated for (by hosts with the ability/need) must provide this port, which is a control rate output port that reports the latency for each cycle in frames.

Sourcemodule Instance : sig ... end

Instances of plugins.

Sourceval instantiate : t -> float -> Instance.t

Create an instance of a plugin.

OCaml

Innovation. Community. Security.