home/ atoms/ sc-panic-drone-pattern

A SuperCollider autonomous panic recovery is s.freeAll followed by a single inline graph needing no SynthDef, sample, pattern, or scale

When a SuperCollider performance state collapses (leaked nodes, runaway feedback, broken JITLib, dead SynthDef), the autonomous recovery is: (1) s.freeAll to clear all nodes and stop any runaway, then (2) evaluate a single inline {}.play graph that requires no SynthDef, no samples/buffers, no pattern, and no scale. The canonical panic graph is a Saw through RLPF with a gentle amplitude LFO at a conservative gain, chosen so it survives every error class at once. Strip to { SinOsc.ar(440, 0, 0.1) }.play if even that is suspect; if the server itself is wedged, s.reboot then re-evaluate.

Examples

s.freeAll;
{ RLPF.ar(Saw.ar(110), 800, 0.3) * SinOsc.kr(0.2).range(0.05, 0.2) }.play;

Strip to { SinOsc.ar(440, 0, 0.1) }.play if suspect.

Assessment

Write the two-line SuperCollider panic recovery, identify which error classes it simultaneously addresses, and state when s.reboot is required instead.

“`s.freeAll` clears any leaked/held nodes (E4) and any runaway feedback (E10); the graph needs no SynthDef (E3), no samples/buffers, no pattern (E7)”
context/ · L5-debug/supercollider.md · chunk 1