PedalPi - PluginsManager - Model - System¶
SystemEffectBuilder¶
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: -
is_possible_connect_itself
¶ return bool: Is possible connect the with it self?
-