-
... t/2]; sys.add(RedObject(world, loc, nil, 0, 1.5, 10)); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ if(0.005.coin, {world.gravity= RedVector2D[0, -0.7.rrand(0.7)]; world.gravity.postln}); sys.do{|o, i| o.loc= o.loc+RedVector2D[0 ...
-
... d (optional) x (optional) y (optional) width (optional) height (optional) columnSize (optional) rowSize (optional) . removeSwitches Remove a matrix of switches Arguments: pagename (optional) id (optional) . pads Add or update a matrix of pa ...
-
... (str.last.isDecDigit.not) { ^nil; }; // make an array of indicies from 0 to str.size-1 chars = Array.iota(str.size); // drop the index of the point in case of a float if(str.includes($.)) { isFloat = true; chars.removeAt(str.indexOf($.)); } ...
-
... { |options| if (parent.isNil) { defPos = 10@260 } { defPos = skin.margin; }; minSize = 250 @ 200; } makeViews { var font = Font("Monaco", 10); // Pen.font_(Font("", 12)); zone.resize_(5); // elastic h + v nameView = StaticText(zone, Rect(0, ...
-
... { |options| if (parent.isNil) { defPos = 10@260 } { defPos = skin.margin; }; minSize = 250 @ 200; } makeViews { var font = Font("Monaco", 10); // Pen.font_(Font("", 12)); zone.resize_(5); // elastic h + v nameView = StaticText(zone, Rect(0, ...
-
... enotes].choose); // limit pattern to 8 notes. if (glob[\patternnotes].size > 5) { glob[\patternnotes].pop; }; // always return state at the end [glob, loc]; ...
-
... + cmd[4].min(1.9999pi).max(-1.9999pi)).sin * cmd[2])); if( currentPath.segments.size == 0 ) { currentPath.add( [\M, cStart.x, cStart.y] ) } { currentPath.add( [\L, cStart.x, cStart.y] ) }; currentPath.add( [\A, cmd[2], cmd[2], 0, (cmd[4].ab ...
-
... the phases (i.e. it ignores half of the data), the cepstral Buffer is half the size of the FFT Buffer. Very loosely speaking the cepstrum is an "FFT of an FFT". There are various forms of cepstral analysis - this UGen applies what is somet ...
-
... "allocated: %\n".postf( x | mask ); ^x | mask } allocPerm { var x; if(permFreed.size > 0) { x = permFreed.minItem; permFreed.remove(x); } { x = perm; perm = (x + 1).min(initTemp - 1); } ^x | mask } freePerm { |id| // should not add a temp n ...
-
... Post(parent, bounds); } *new { |post| if (posts.isNil) { this.init }; if (posts.size > numPosts) { posts.drop(-1) }; posts.addFirst(post); try { rePost.string = posts.join("") }; if (toPost) { post.post } } *makePost { |parent, bounds| boun ...