The Subpatch Node groups other Nodes together to form a subpatch. This allows scaling more complex projects by organizing Nodes into layers, as well as by using subpatches of any complexity as a single Node: subpatches can be copy-pasted, duplicated, and moved, just like any single Node.
Subpatches support infinite nesting, and when creating a subpatch from an already existing selection of Nodes, create inputs/outputs automatically as necessary.
Creating and Editing Subpatches
The most common way to create a subpatch is by selecting 2 or more Nodes, and choosing Group from the right click menu. This will automatically create a Subpatch Node and move the selected Nodes into it. If the selected Nodes connect to other non-selected Nodes, this will also automatically create inputs/outputs on the Subpatch Node as necessary.
Editing the subpatch can be done by right clicking the Subpatch Node, and then choosing Edit.
Additionally, Subpatch Nodes can be created manually just like any other Node, by right clicking on empty Patcher area and choosing the Subpatch Node under the Utilities category.
Inputs
This Node has a variable number of Audio, Control, or Melody inputs, depending on what input Nodes are contained inside the subpatch.
Subpatch inputs can be created by creating Subpatch Signal Input, Subpatch Melody Input, and Subpatch Data Input Nodes within the subpatch. When necessary, inputs are also automatically created when grouping an already existing selection of Nodes.
Outputs
This Node has a variable number of Audio, Control, or Melody outputs, depending on what output Nodes are contained inside the subpatch.
Subpatch outputs can be created by creating Subpatch Audio Output, Subpatch Melody Output, and Subpatch Data Output Nodes within the subpatch. When necessary, outputs are also automatically created when grouping an already existing selection of Nodes.