-
... ither as a path or as a string. a Document in sc can only exist if the document window is open, so this container allows it to be evaluated even from disk or if being edited by another app */ var >path, >content; var document; *new { arg pa ...
-
... },{ if(matches.size == 1,{ matches.first.openCodeFile; if(close ? true,{layout.window.close; }); },{ matches.sortMap({|c| c.name }).do { arg class; var b; layout.startRow; b = ActionButton(layout,class.name.asString,{ class.openCodeFile; i ...
-
... ax or grammar errors are found, SuperCollider writes a notification to the post window. Such messages are descriptive but terse. • ERROR: Parse error in file 'selected text' line 1 char 2 : 4,• ----------------------------------- • ERROR: C ...
-
... EnvGen.ar(Env([1, -1, 1], [0.05, 0.05]))) }.plot(0.1) ⧉ ✔ The same in one plot window: ( { [ PanAz.ar(2, DC.ar(1), Line.ar(-1, 1, 0.1), orientation: 0), Pan2.ar(DC.ar(1), Line.ar(-1, 1, 0.1)), Pan2.ar(DC.ar(1), EnvGen.ar(Env([1, -1, 1], [0 ...
-
... artup and stored in the class variables local and internal . By default two GUI windows are created to control these. The difference between the two is that the local server runs as a separate application with its own address space, and the ...
-
... untimeError ⧉ ✔ SuperCollider prints a four-part error notification to the post window. The parts of the notification are ERROR, RECEIVER, ARGS, and CALL STACK, as in ERROR: Message 'createRuntimeError' not understood. RECEIVER: Integer 3 A ...
-
... shaped segments. 'welch' - sinusoidal segments shaped like the sides of a Welch window. a Float - a curvature value for all segments. An Array of Floats - curvature values for each segments. // change a parameter ( Pbind ( \note , Pseg ( Ps ...
-
... r numChan= 4; var chanHeight= height/numChan; var win, usr, frameCount= 0; win= Window("gui example userview", Rect(100, 100, width, height)).front; usr= UserView(win, Rect(0, 0, width, height)); usr.background= Color.black; usr.clearOnRefr ...
-
... cursorLag= 0.2; cursorPosition= cursorPosition ?? {Point(0, 0)}; screenBounds= Window.screenBounds; SkipJack({ var cp= QtGUI.cursorPosition; cursorPosition= cursorPosition+(cp-cursorPosition/(cursorLag+1)); }, updateRate, false, \PMouse, A ...
-
... *n*x processes Quick intro to the main functions (run each line, watch the post window, wait for a bit): "sleep 3" .unixCmd "sleep 3" .unixCmdInferPID({ |pid| ( "The PID is" + pid).postln}) "sleep 3" .unixCmdThen({ |pid| ( "The PID was" + p ...