home/ atoms/ sc-groups

SC Groups organize synth nodes into named sections that can be targeted for routing and order-of-execution control

Groups are named containers in the Node Tree. Synths can be added to a group with .play(target: ~group). Groups themselves can be ordered relative to each other (addAfter, addToTail). A typical pattern: ~sources group, ~effects group after sources, ~master group after effects. All synths in a group execute together before the next group, ensuring correct signal flow without specifying individual synth order. Groups also simplify freeing — freeing a group frees all its synths.

Examples

~sources = Group.new; ~effects = Group.new(~sources, \addAfter); ~master = Group.new(~effects, \addAfter); {Out.ar(~reverbBus, SinOsc.ar(440))}.play(target:~sources);

Assessment

Design a three-group node tree (sources, effects, master) for a live patch with two oscillators feeding into a reverb and then a volume control.

“When you start to have lots of synths—some of them for source sounds, others for effects, or whatever you need—it may be a good idea to organize them into groups.”
corpus · a-gentle-introduction-to-supercollider-ruviaro-archive-org-c · chunk 17