PedalPi - PluginsManager - Model - System

SystemEffectBuilder

class pluginsmanager.model.system.system_effect_builder.SystemEffectBuilder(jack_client)[source]

Automatic system physical ports detection

Parameters:jack_client (JackClient) – JackClient instance that will get the information to generate SystemEffect
__weakref__

list of weak references to the object (if defined)

SystemEffect

class pluginsmanager.model.system.system_effect.SystemEffect(representation, outputs, inputs)[source]

Representation of the system instance (audio cards).

System output is equivalent with audio input: You connect the instrument in the audio card input and it captures and send the audio to SystemOutput for you connect in a input plugins.

System input is equivalent with audio output: The audio card receives the audio processed in your SystemInput and send it to audio card output for you connects in amplifier, headset.

Because no autodetection of existing ports in audio card has been implemented, you must explicitly inform in the creation of the SystemEffect object:

>>> sys_effect = SystemEffect('system', ('capture_1', 'capture_2'), ('playback_1', 'playback_2'))

Unlike effects that should be added in the pedalboard, SystemEffects MUST NOT:

>>> builder = Lv2EffectBuilder()
>>> pedalboard = Pedalboard('Rocksmith')
>>> reverb = builder.build('http://calf.sourceforge.net/plugins/Reverb')
>>> pedalboard.append(reverb)

However the pedalboard must have the connections:

>>> pedalboard.connections.append(Connection(sys_effect.outputs[0], reverb.inputs[0]))

An bypass example:

>>> pedalboard = Pedalboard('Bypass example')
>>> sys_effect = SystemEffect('system', ('capture_1', 'capture_2'), ('playback_1', 'playback_2'))
>>> pedalboard.connections.append(Connection(sys_effect.outputs[0], sys_effect.inputs[0]))
>>> pedalboard.connections.append(Connection(sys_effect.outputs[1], sys_effect.inputs[1]))
Parameters:
  • representation (string) – Audio card representation. Usually ‘system’
  • outputs (tuple(string)) – Tuple of outputs representation. Usually a output representation starts with capture_
  • inputs (tuple(string)) – Tuple of inputs representation. Usually a input representation starts with playback_
is_possible_connect_itself

return bool: Is possible connect the with it self?

SystemInput

class pluginsmanager.model.system.system_input.SystemInput(effect, system_input)[source]

SystemOutput

class pluginsmanager.model.system.system_output.SystemOutput(effect, output)[source]