PedalPi - PluginsManager - Model - Lv2

Lv2EffectBuilder

class pluginsmanager.model.lv2.lv2_effect_builder.Lv2EffectBuilder(plugins_json=None)[source]

Generates lv2 audio plugins instance (as Lv2Effect object).

Note

In the current implementation, the data plugins are persisted in plugins.json.

__weakref__

list of weak references to the object (if defined)

build(lv2_uri)[source]

Returns a new Lv2Effect by the valid lv2_uri

Parameters:lv2_uri (string) –
Return Lv2Effect:
 Effect created

Lv2Effect

class pluginsmanager.model.lv2.lv2_effect.Lv2Effect(plugin)[source]

Representation of a Lv2 audio plugin instance.

For general effect use, see Effect class documentation.

It’s possible obtains the Lv2Plugin information:

>>> reverb
<Lv2Effect object as 'Calf Reverb'  active at 0x7f60effb09e8>
>>> reverb.plugin
<Lv2Plugin object as Calf Reverb at 0x7f60effb9940>
Parameters:plugin (Lv2Plugin) –

Lv2Input

class pluginsmanager.model.lv2.lv2_input.Lv2Input(effect, effect_input)[source]

Representation of a Lv2 input audio port instance.

For general input use, see Input class documentation.

Parameters:
  • effect (Lv2Effect) –
  • effect_input (dict) – input audio port json representation

Lv2Output

class pluginsmanager.model.lv2.lv2_output.Lv2Output(effect, effect_output)[source]

Representation of a Lv2 output audio port instance.

For general input use, see Output class documentation.

Parameters:
  • effect (Lv2Effect) –
  • effect_output (dict) – output audio port json representation

Lv2Param

class pluginsmanager.model.lv2.lv2_param.Lv2Param(effect, param)[source]

Representation of a Lv2 input control port instance.

For general input use, see Param class documentation.

Parameters:
  • effect (Lv2Effect) –
  • param (dict) – input control port json representation

Lv2Plugin

class pluginsmanager.model.lv2.lv2_plugin.Lv2Plugin(json)[source]
__getitem__(key)[source]
Parameters:key (string) – Property key
Returns:Returns a Plugin property
__weakref__

list of weak references to the object (if defined)

json

Json decodable representation of this plugin based in moddevices lilvlib.