-
... efault values must be what are called literals. Literals are basically numbers, strings, symbols (more on these later), or collections of them. Don't worry if that doesn't totally make sense, it will become clearer as we go on. There is an ...
-
... object and its operations. Objects in SuperCollider include numbers, character strings, object collections, unit generators, wave samples, points, rectangles, graphical windows, graphical buttons, sliders and much more. Operations upon obj ...
-
... ou can write a set of Pbind-style patterns, each one representing a phrase, and string them together. This next example is longer, but that's only because of a larger number of phrase patterns. The structure is very simple, though: Pxrand([ ...
-
... /g_deepFree groupID ... /g_dumpTree /g_queryTree UGen: /u_cmd nodeID ugenIndex string arg ... Buffer: /b_alloc bufnum numFrames numChannels [complBytes] /b_allocRead bufnum path startFrame numFrames [complBytes] /b_allocReadChannel bufnum ...
-
... , 10, 300, 30)); d = StaticText .new(w, Rect (10, 40, 300, 30)); c.action = { d.string = "unmapped value" + c.value.round(0.01) + "......" + "mapped value" + a.map(c.value) }; ) // ControlSpec-map can also be used to map ugens ( var spec; s ...
-
... = 3; b = Button (a, Rect (0,0,160,20)); b.states = Array .fill(q,{ arg i; [i.asString, Color .white,colors.wrapAt(i)] }); b.action = { arg butt; p.visible = false ; p = c.at(butt.value); p.visible = true ; }; c = Array .fill(q,{ arg i; b = ...
-
... ckground_( Color .rand ).align_( \center ) }.dup(5); StaticText .new(n,200@150).string_( "hold down cmd and drag points from the slider to the drag slots, or reverse" ).stringColor_( Color .white); w.front; ) // Shape a Sound ( s.waitForBoo ...
-
... r receiver notation. Binary operator messages A binary operator selector is any string of characters from the list of legal binary operator characters: ! @ % & * - + = | < > ? / An exception is that no operator may begin with // or /* which ...
-
... labels and functions, not like in ListView , where items is simply an array of strings. If label is nil, then no staticText is created. Creation / Class Methods *new (parentView, bounds, label, items, globalAction, initVal, initAction, lab ...
-
... ln }); // iterates from zero to four "you" .do({ arg item; item.postln }); // a String is a collection of characters 'they' .do({ arg item; item.postln }); // a Symbol is a singular item (8..20).do({ arg item; item.postln }); // iterates fr ...