Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
PortConnection Struct Reference

A connection between two ports. More...

#include <dsp/port_connection.h>

Collaboration diagram for PortConnection:

Data Fields

int schema_version
 
PortIdentifiersrc_id
 
PortIdentifierdest_id
 
float multiplier
 Multiplier to apply, where applicable.
 
bool locked
 Whether the connection can be removed or the multiplier edited by the user.
 
bool enabled
 Whether the connection is enabled.
 
float base_value
 Used for CV -> control port connections.
 

Detailed Description

A connection between two ports.

Definition at line 31 of file port_connection.h.

Field Documentation

◆ base_value

float PortConnection::base_value

Used for CV -> control port connections.

Definition at line 65 of file port_connection.h.

◆ dest_id

PortIdentifier* PortConnection::dest_id

Definition at line 36 of file port_connection.h.

◆ enabled

bool PortConnection::enabled

Whether the connection is enabled.

Note
The user can disable port connections only if they are not locked.

Definition at line 62 of file port_connection.h.

◆ locked

bool PortConnection::locked

Whether the connection can be removed or the multiplier edited by the user.

Ignored when connecting things internally and only used to deter the user from breaking necessary connections.

Definition at line 54 of file port_connection.h.

◆ multiplier

float PortConnection::multiplier

Multiplier to apply, where applicable.

Range: 0 to 1. Default: 1.

Definition at line 44 of file port_connection.h.

◆ schema_version

int PortConnection::schema_version

Definition at line 33 of file port_connection.h.

◆ src_id

PortIdentifier* PortConnection::src_id

Definition at line 35 of file port_connection.h.


The documentation for this struct was generated from the following file: