-
... ors, velAvg, posAvg, nIdx; neighbors = Array.newClear(numBoids-1); nIdx = 0; // index for neighbors vec = RealVector.zero(dim); // for rule 2 count = 1; // for rule 2 // get some averages posSum = posSum + thisBoid.pos; // sum the position ...
-
... nth(\testSine, [ \scale, 0, //don't output to speakers \fm, f.busArg, \outFm, d.index, \low, rrand(-10.0, -100.0), \hi, rrand(10.0, 100.0), \freq, rrand(1.0, 100.0) ], b, \addToHead); y = Synth(\testSine, [ \scale, 1.0 / ~num, \fm, d.busArg ...
-
... ) flatten: ( 3 ) } ) .addUniqueMethod ( \index, // n.index ( # , # , # ) { |...x| n.matrix detectIndex: ( _.key |==| x[1..3] ) } ) .addUniqueMethod ( ...
-
... enus. See also: CocoaMenuItem , SCMenuItem , SCMenuGroup Creation *new (parent, index) Create a new menu separator. parent - The menu or submenu in which to add this separator. This should be an instance of SCMenuGroup . index - The index a ...
-
... ) .items_([]) .resize_(5) .background_(Color.grey(0.62)) .action_({ |lview| var index = lview.value; if (lview.items.isEmpty) { "no entries yet.".postln; } { lastLineSelected = listV.items[index]; if (filtering.not) { this.postInlined(index ...
-
... = GraphParser.new(graph) ; var label, next, str ; (labelArray.size-1).do({ arg index ; label = labelArray[index] ; next = labelArray[index+1] ; str = "e+"+label+rrand(minVal, maxVal).asString+next ; parser.parse(str) ; }) ; parser.parse("e ...
-
... r.addAll(string.asStrang) } find { |string, ignoreCase = false, offset = 0| var index = offset, last; var i0 = 0; string = string.asStrang; last = string.size - 1; if(ignoreCase) { Error("ignoreCase not yet implemented").throw }; while { in ...
-
... ht be embedded at next occasion. PL_PproxyNth : PL_Pattern { var <>listProxy, <>index, <>type, <>doWrap, <>cutItems; *new { |listProxy, index, type = 1, doWrap = true, cutItems = true, envir = \current| // type: repeats factor for objects o ...
-
... audio bus. *kr(bus, channelsArray) - write a signal to a control bus. bus - the index, or array of indexes, of busses to write to. The lowest index numbers are written to the audio hardware. channelsArray - an Array of channels or single ou ...
-
... ors, velAvg, posAvg, nIdx; neighbors = Array.newClear(numBoids-1); nIdx = 0; // index for neighbors vec = RealVector3D.zero; // for rule 2 count = 1; // for rule 2 // get some averages posSum = posSum + thisBoid.pos; // sum the position vel ...