-
... fferent values to each item of the Cluster class. To do so, one must convert an array into a ClusterArg using .asCluster . E.g. [\freq, [200,400].asCluster] Other than this everything should work exactly the same as with the original classe ...
-
... of any dimension, with optimized classes for 2D and 3D. AbstractVector[slot] : ArrayedCollection { species { ^this.class } //usual notation up to 3D vectors x { ^this.at(0) } y { ^this.at(1) } z { ^this.at(2) } //inner product <|> { |vec| ...
-
... tring, it, jt ); } }; /* subscriptions.do{ |it| // it.postln; if ( it.isKindOf( Array ), { addr.sendMsg( '/subscribed/slot', addr.port, it[0], it[1] ); },{ addr.sendMsg( '/subscribed/node', addr.port, it ); }) }; */ ^true; } unsubscribeAll{ ...
-
... 0| var peakcurve; var maxindex = curve.size-1; var list; var sep=0; peakcurve = Array.fill(curve.size,{|i| var below, above; var sum = 0.0; var now = curve[i]; below = (i-reach).max(0); above= (i+reach).min(maxindex); for(below, above,{|j| ...
-
... Worm { var <>point, destpoint, size, rect, stageRect; var taillength; var <>tailArray; var move, oldpoint; var <>auto, <>boundaries; var wanderCircleDistance, wanderCircleRadius, wanderCircleAngle; var xOffset, yOffset; var <>tailcolor; var ...
-
... pieces This is a List of pieces that are of type MoltenPiece . The size of this array is the number of pieces supplied as an argument at instance creation. isPlaying Boolean. Indicates the current playback status. lockAction_(arg1) lockActi ...
-
... ++ Main.elapsedTime.round, properties: properties ?? { () }); unresolvedNotes = Array.new; } stopRecord { var timeTemp, noteToStop; (buf.size > 0).if({ buf.stopRecTime = (timeTemp = clock.elapsedBeats) - startTime; // if stop was received b ...
-
... ++ Main.elapsedTime.round, properties: properties ?? { () }); unresolvedNotes = Array.new; } stopRecord { var timeTemp, noteToStop; (buf.size > 0).if({ buf.stopRecTime = (timeTemp = clock.elapsedBeats) - startTime; // if stop was received b ...
-
... function will be passed in this arguments: genePool: The whole gene pool as an Array. mutationProb: Value of the mutation probability for the instance. You should grab those arguments in your custom crossover function, and return the new g ...
-
... setHeading) .setCenter(setup); }; } setCenter { | latLongAlt | if (latLongAlt.isArray) { // if(latLongAlt.size < 8) { // doesn't include GPS scaling params center = [latLongAlt[0], latLongAlt[1]]; if (latLongAlt.size == 4) { lagFactor = lat ...