-
... ariable, so it can't be reused. (Well, actually you could just execute the same line of code again, but you know what I mean...) This is often the case when using Function-play, as it is useful as a quick way of getting something to make no ...
-
... . numberWidth Number of pixels width for the number box. The default is 45. In \line2 layout, numberWidth defaults to the bounds.width minus the unitWidth. unitWidth Number of pixels width for the unit label. The default is 0. If unitWidth ...
-
... mous function is delayed and therefore doesn't cause an error at the definition line. //sum with last value ( //Setup GUI a = NumberBox(); b = NumberBox(); w = Window(bounds:Rect(200,200,200,100)).layout_( HLayout( StaticText().string_("In: ...
-
... isconnect shell commands ( String: -unixCmd ). A server booted from the command line will thus not auto-connect, unless you set the variables in the same terminal session or shell profile (below). This is the recommended way of changing the ...
-
... is recommended for speed. With and: and or: second-argument functions will be inlined. If you use && or || , no inlining will be done and performance will be slower. a = 1; a == 1 and: { "second condition".postln; [true, false].choose } sec ...
-
... sustain = 1, amp = 0.5| var sig; sig = SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.linen(0.05, sustain, 0.1), doneAction: Done.freeSelf); Out.ar(out, sig ! 2) }).add; r = Task({ var delta; while { delta = dur.next; delta.notNil } { Synth(\smoo ...
-
... ly the pixel data (since it won't allocate a new array everytime !) // exec one line at a time i = SCImage.new( // "http://supercollider.sourceforge.net/theme/sc01/icon.supercollider.gif" SCDoc.helpSourceDir +/+ "images/icon.supercollider.p ...
-
... { arg out, bufnum, from=0.0, to=1.0, sustain=1.0; var env; env = EnvGen.ar(Env.linen(0.01, sustain, 0.01), 1, doneAction: Done.freeSelf); Out.ar(out, BufRd.ar(1, bufnum, Line.ar(from, to, sustain) * BufFrames.kr(bufnum) ) * env ) }).add; ) ...
-
... nipulating strings rotate scramble replace format escapeChar quote zeroPad underlined tr padLeft padRight toUpper toLower stripRTF split Stream support printOn storeOn Unix Support unixCmd unixCmdGetStdOut systemCmd runInTerminal setenv get ...
-
... 8 ] ], [ Pstutter(Pwhite(5,10), Pxrand([0, 1, \all], inf)), \switch ] // single line switches between trill and arpeggio ).play; ) p.free; ////////////////////////////////////////////////////////////////////////////////// // HSpar with two ...