Ladspa.DescriptorDescriptors.
val unique_id : t -> intThis numeric identifier indicates the plugin type uniquely. Plugin * programmers may reserve ranges of IDs from a central body to avoid * clashes. Hosts may assume that IDs are below 0x1000000.
val label : t -> stringThis identifier can be used as a unique, case-sensitive identifier for the * plugin type within the plugin file. Plugin types should be identified by * file and label rather than by index or plugin name, which may be changed * in new plugin versions. Labels must not contain white-space characters.
val name : t -> stringName of the plugin (e.g. "Sine Oscillator").
val maker : t -> stringString indicating the maker of the plugin.
val copyright : t -> string optionString indicating any copyright applying to the plugin.
val port_count : t -> intThis indicates the number of ports (input AND output) present on the plugin.
val port_name : t -> int -> stringName of the n-th port.
val port_is_input : t -> int -> boolIs the n-th port an input?
val port_is_output : t -> int -> boolIs the n-th port an output?
val port_is_audio : t -> int -> boolIs the n-th port an audio port?
val port_is_control : t -> int -> boolIs the n-th port a control port?
val port_is_integer : t -> int -> boolval port_is_boolean : t -> int -> boolval port_is_logarithmic : t -> int -> boolval port_get_default : t -> ?samplerate:int -> int -> float optionGet a sensible default value for a control port.
val port_get_min : t -> ?samplerate:int -> int -> float optionval port_get_max : t -> ?samplerate:int -> int -> float optioninstantiate descr freq instantiates the descriptor descr with a sampling frequency freq.
val connect_port :
instance ->
int ->
(float, Stdlib.Bigarray.float32_elt, Stdlib.Bigarray.c_layout)
Stdlib.Bigarray.Array1.t ->
unitconnect_audio_port inst p buf connects the port p of instance inst to the buffer buf. For control ports only the first value is relevant (the bigarray can be of length 1).
val set_control_port : instance -> int -> float -> unitval activate : instance -> unitActivate (i.e. initialize) a plugin.
val deactivate : instance -> unitDeactivate a plugin.
val run : instance -> int -> unitProcess a given number of samples (which should be smaller than all the buffers given through connect_port.