Skip to main content

SubgraphSource Node

Runs an embedded audio graph, created from the graph configuration in graph, as a single source node. The subgraph's output node feeds the output buses. The number of output buses, set with numberOfOutputs (1 by default), must match the subgraph's, otherwise the node outputs silence.


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 outputs silence. The graph is started when the node is created.

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.