-
... Sets the format of the data sent back from mrmr. type - \float returns floating point numbers from 0 to 1. \int returns integers from 0 to 1000.. Default value is nil . // Example //floating point format a.precision( \float ); //integer for ...
-
... (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window .new.front; a = HrButton (w, Rect (20, 60, 150, 20)).states_([["1"], ["2"]]); a.action = { a.value.postln }; ) Acces ...
-
... " ++ ~atsAnalysisToken).postln; ~autoSoloOnSelectV66 = false; ~mkTrack = { |id, points, color| ( id: id, points: points ? [], color: color ? Color.white, synth: nil, isSelected: false ) }; ~safePt = { |pt, idx = 0, n = 1, fallbackFreq = 440 ...
-
... num, aCol | aCol = aCol ? Color.green; num.do({ |i| // Draw the dots Pen.addArc(Point(0, radius.neg), radius * 0.05, 0, 2pi); Pen.color = aCol; Pen.perform(\fill); Pen.rotate(2pi/num); }); } drawLabel {|aString, align| aString = aString ? l ...
-
... oundfile" button in the UChain window. (***) with \diskSoundFile, loop the loop points will always be the start and end of the original file; it doesn't take into account the region start/end positions. -- this is an Udef definition file pa ...
-
... oundfile" button in the UChain window. (***) with \diskSoundFile, loop the loop points will always be the start and end of the original file; it doesn't take into account the region start/end positions. -- this is an Udef definition file pa ...
-
... ~dims)); }; }; "" ); /////////// general nearest neighbour to arbitrary spatial point ( "Nearest neighbour query time estimated average:" .postln; ( "" ++(bench({ 100.do{ ~tree.nearest({~halffillsize.rand}.dup(~dims)); } }, false )/100) + " ...
-
... ~dims)); }; }; "" ); /////////// general nearest neighbour to arbitrary spatial point ( "Nearest neighbour query time estimated average:" .postln; ( "" ++(bench({ 100.do{ ~tree.nearest({~halffillsize.rand}.dup(~dims)); } }, false )/100) + " ...
-
... black; Pen.fillColor= Color.white; world.objects.do{|o| var p, x, y; p= o.loc.asPoint; Pen.addOval(Rect.aboutPoint(p, o.size, o.size)); x= sin(o.phase)*o.size*0.9; y= cos(o.phase)*o.size*0.9; Pen.moveTo(p); Pen.lineTo(p+Point(x, y)); }; Pen ...
-
... depth, fourth); } initRed4DTesseract {|position, width, height, depth, fourth| points= ( #[ [-1, -1, -1, 1], [1, -1, -1, 1], [1, 1, -1, 1], [-1, 1, -1, 1], [-1, -1, 1, 1], [1, -1, 1, 1], [1, 1, 1, 1], [-1, 1, 1, 1], [-1, -1, -1, -1], [1, - ...