Combining Nodes in SuperCollider
Creating and Connecting Nodes
Audio buses can be used to connect synth nodes. In this example we will create two nodes - one for generating a sound and one for processing it. First thing is an audio bus:
The ~osc
node generates a sawtooth signal and the output is routed to the audio bus:
The second node is a simple filter. Its input is set to the index of the audio bus:
Moving Nodes
The moveAfter()
function is a quick way for moving a node directly after
a node specified as the argument. The target node can be either referred to by
its node index or by the related name in sclang: