Module graph

Source
Expand description

DSP graph system.

This module provides Graph for managing connected DSP blocks and GraphBuilder for fluent graph construction.

Blocks are connected to form a signal processing chain. The graph handles buffer allocation, execution ordering via topological sort, and modulation value collection.

Structs§

BlockSnapshot
Snapshot of a block’s metadata for visualization.
Connection
Describes an audio connection between two blocks.
ConnectionSnapshot
Snapshot of a connection for visualization.
Graph
A directed acyclic graph of connected DSP blocks.
GraphBuilder
Fluent builder for constructing DSP graphs.
GraphTopologySnapshot
Snapshot of a graph’s topology for visualization.
ModulationConnectionSnapshot
Snapshot of a modulation connection for visualization.

Constants§

MAX_BLOCK_INPUTS
Maximum number of inputs a block can have (realtime-safe stack allocation). Set to 16 to support third-order ambisonics (16 channels).
MAX_BLOCK_OUTPUTS
Maximum number of outputs a block can have (realtime-safe stack allocation). Set to 16 to support third-order ambisonics (16 channels).