-
... os = -1 * 20 - 2; if ( network.nodes.size > 0 ) { nodes = network.nodes.asSortedArray.collect{ |it,key| // it.postln; ypos = ypos + 2 + 20; this.class.nodetype.newSmall( network.nodes.at( it[1].id ), nv2, 2, ypos ).parent_( this ); }; }; wa ...
-
... // notice the selected text in the open document ⧉ ✔ . openDocuments Returns an Array of all open documents. d = Document.openDocuments.do{ |doc| doc.name.postln }; ⧉ ✔ . hasEditedDocuments Returns true if there are edited Documents. . clos ...
-
... 'named' note. Both note names and their respective frequencies are stored into arrays, and the multi-button acts as a 'bridge' between them : var namedFreqs = (Scale.at(\chromatic).ratios ++ [2]) * 440; var freqNames = [ "A", "Bb", "B", "C ...
-
... The view's parent view, or nil if the view is a top view. . parents Returns: An array of all the parents, grandparents, etc., of the view. . getParents Returns: Same as parents . . children ( class ) Returns: An array of all immediate child ...
-
... , USA. */ AbstractDX : UGen { *xr { |type = \mix, outRate = \ar, inOut, channelsArrayRef, fadeTime = 1, stepTime = 1, fadeMode = 0, sine = 1, equalPower = 1, power = 1, curve = 0, allowTypeSeq = 0, fadeRate = \ar, maxFadeNum = inf, maxWidth ...
-
... tches.reverse[ .. pitches.size - 2], inf ), // if the note is found in the mask array, replace it with \rest // then that note does not sound \note , Pif ( Pfunc { |event| mask.includes(event[ \arpeg ]) }, \rest , Pkey ( \arpeg )), \octave ...
-
... a.do{ arg a;a.view.background_( Color .grey.alpha_(0.4))}; ) // a now holds the array of knobs a a[0].value a[3].value_(0.5) a.collect( _ .value );
-
... e receiver. aNumber is ignored. asFraction(denominator, fasterBetter) Return an array of denominator and divisor of the nearest and smallest fraction rrand(aNumber) Returns a random number in the interval ]a, b[. If both a and b are Integer ...
-
... w([0, 1, 1, 0], [1.0, dur, 3.0]), doneAction:Done.freeSelf); var sig = Array.fill(20, { var multiplier = [ 0.99, 1, 1.01, 1.99, 2, 2.01, 3.99, 4, 4.01].choose; ...
-
... -designed drawing functions. It is partially modelled on Score. A "score" is an array of events like the following: [ [ circle, 0.0, 2.0, \x, 100.0, \y, 100, \r, 100.0 ], [ square, 2.0, 2.0, \x, 100.0, \y, 100, \size, 100.0 ], [ pict, 3.0, ...