-
... ; # match2, dist2 = tree2.nearest(probe2); this.assert(dist1 == dist2, "rotated space check: tree.nearest(%) same distance away as tree2.nearest(%)".format(probe, probe2), false); }; this.allNearestTest(tree); } allNearestTest { |tree| var ...
-
... ; # match2, dist2 = tree2.nearest(probe2); this.assert(dist1 == dist2, "rotated space check: tree.nearest(%) same distance away as tree2.nearest(%)".format(probe, probe2), false); }; this.allNearestTest(tree); } allNearestTest { |tree| var ...
-
... ,{ if (paramView.keyName.notEmpty && paramView.scriptFieldView.string.stripWhiteSpace().notEmpty, { keyValuePairs.add(paramView.keyName.asSymbol); keyValuePairs.add(paramView.paramProxy); }); }); }; if (keyValuePairs.size == 0, { switch (pa ...
-
... ,y assignment. Now Layout implement only a uniform distribution in the 1200x800 space. Creation / Class Methods *new (graph, runner) GraphParser. graph - a graph. Default value is nil. . runner - a runner. Default value is nil.. g = Graph . ...
-
... our channels has a different frequency inducing several effects in the acoustic space. Feel free to modify the \beat1 and \beat2 parameters. The choice of frequencies follows the "Mystic Solfeggio" which is meant to bring a positive vibr ...
-
... ible randomness) . fillUpRandom . fillUpRandom = value if true , fill remaining space in collection/ Buffer with random numbers between 0 and 255 . . scope ( rate: 20000 , using , leak: false , vol: 0.1 , force: true ) run program and scope ...
-
... esName . usesPausSend . usesPlayN . win . zone Examples s.boot; // make a proxy space and a test proxy ( s.scope(8); p = ProxySpace.push; ~test = { |freq = 1000, dens = 5, amp = 1, lev = 3| var freqline = { exprand(0.3, 3) } ! 3 * XLine.kr( ...
-
... y) , or ~key = val ). It is used as a basis for classes like LazyEnvir and ProxySpace . Class Methods EnvironmentRedirect. new ( envir ) Create new environment redirect, if envir is passed, it is used as a basis. replacing Environment class ...
-
... ample) s.boot; ~numnodes = 20; ~traindur = 10000; // First create the data ~dataspace = Buffer.alloc(s, s.sampleRate); // Let's have 1 second of data ~dataspace.sine1([1], true, false); ~dataspace.plot; // Allocate space for the SOM, and in ...
-
... * 2 ) / frame.size)}); } //calculate the distance of two points in an Euclidean space distance{|that| var delta = 0, distance; if(this.size != that.size){Error("Two arrays should be the same size.").throw}; this.asArray.do{|value, index| if ...