Skip to main content

SubgraphProcessor Node

Runs an embedded audio graph, created from the graph configuration in graph, as a single processor node. The input buses feed the subgraph's input node and the subgraph's output node feeds the output buses. The bus counts, set with numberOfInputs and numberOfOutputs (1 each by default), must match the subgraph's, otherwise the input is passed through unchanged. All buses have the same format.


Configuration​

graph​

Type: Audio graph

The embedded audio graph to create, given as a graph configuration map with nodes, connections and dataConnections, either at the top level or under config. When it is omitted, the node has no subgraph and passes its input through unchanged. The graph is started when the node is created.

numberOfInputs​

Type: Int

Default: 1

The number of input buses. It must match the number of output buses of the subgraph's input node.

numberOfOutputs​

Type: Int

Default: 1

The number of output buses. It must match the number of input buses of the subgraph's output node.


Properties​

Inherits properties from its parents, Node, SwitchboardObject.

This object does not provide any additional properties.


Actions​

Inherits actions from its parent, SwitchboardObject.

This object does not provide any additional actions.


Events​

This object does not provide any events.