Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::host::sequencing::gate_logic Namespace Reference

Classes

struct  Instance

Typedefs

using Logic = signal::GateLogic

Functions

float gate_logic_worst_case_gain ()
 Worst-case linear gain for the Forge registry (series law 8).
CustomNodeType make_gate_logic_node ()
 Two outputs, because these operations come in complementary pairs and the complement is free: with op set to AND, output 1 IS the NAND of the same inputs.
ForgeNodeDescriptor descriptor ()

Variables

constexpr const char * kTypeId = "sequencing.gate_logic"
constexpr state::ParamID kOp = 1

Typedef Documentation

◆ Logic

Function Documentation

◆ descriptor()

ForgeNodeDescriptor pulp::host::sequencing::gate_logic::descriptor ( )
inline

◆ gate_logic_worst_case_gain()

float pulp::host::sequencing::gate_logic::gate_logic_worst_case_gain ( )

Worst-case linear gain for the Forge registry (series law 8).

No feedback path, and no amplitude path either: both outputs are boolean levels of exactly kGateHigh or kGateLow regardless of how large the inputs are. A 100 V input produces a 1 V gate.

◆ make_gate_logic_node()

CustomNodeType pulp::host::sequencing::gate_logic::make_gate_logic_node ( )

Two outputs, because these operations come in complementary pairs and the complement is free: with op set to AND, output 1 IS the NAND of the same inputs.

A patch that needs both — the usual case when building a rhythm from coincidences and anti-coincidences — would otherwise place a second node and keep its op param in sync with this one by hand.

Variable Documentation

◆ kOp

state::ParamID pulp::host::sequencing::gate_logic::kOp = 1
inlineconstexpr

◆ kTypeId

const char* pulp::host::sequencing::gate_logic::kTypeId = "sequencing.gate_logic"
inlineconstexpr