-
... sys.add(RedObject(world, loc, nil, nil, 2.5.rand, 8)); //world,loc,vel,acc,mass,size }.dup(n); synths= {|i| if(i.odd, { Synth(\sine, [\beat, 0, \amp, 0]); }, { Synth(\saw, [\beat, 0, \amp, 0]); }); }.dup(n); s.sync; //--loop w.draw{ if(0.00 ...
-
... actionNum; firstFxIds[this].isNil.if { j = this + 1; while { (j <= (firstFxIds.size-1)) and: { idAtTail.not } }{ firstFxIds[j].notNil.if { referenceId = firstFxIds[j]; idAtTail = true; actionNum = 2; }; j = j + 1; }; idAtTail.not.if { refe ...
-
... sys.add(RedObject(world, loc, nil, nil, 2.5.rand, 8)); //world,loc,vel,acc,mass,size }.dup(n); synths= {|i| if(i.odd, { Synth(\sine, [\beat, 0, \amp, 0]); }, { Synth(\saw, [\beat, 0, \amp, 0]); }); }.dup(n); s.sync; //--loop w.draw{ if(0.00 ...
-
... he touchpad. xys is an array with three elements: [x position, y position, blob size] MultiTouchPad.start; MultiTouchPad.resetActions; MultiTouchPad.touchAction = {|curID, xys| curID.postln; xys.postln; }; MultiTouchPad.stop; //don't forget ...
-
... class methods Instance methods next value resume run lastValue lastValues at bufSize reset stop count copyItems copySets routine Inherited instance methods Examples Classes (extension) | Libraries > miSCellaneous'>miSCellaneous > miSCellane ...
-
... elaytime The maximum delay time in seconds, used to initialize the delay buffer size. delaytime Delay time in seconds. mul Output will be multiplied by this value. add This value will be added to the output. Inherited class methods Instance ...
-
... ent = \default; state = \off; orderFunc = { |x, y| var i = 0, result = true, minSize = min(x.size, y.size); while { i <= (minSize - 1) }{ (x[i] < y[i]).if { i = minSize; }{ (y[i] < x[i]).if { i = minSize; result = false }{ i = i + 1; } } }; ...
-
... Top_(true); // has lots of elements, not as many as shown on gui k.elementsDict.size; // test switching gui between pages: // turn all knobs in group 0 to random value k.elAt(\kn, 0).do(_.value_(1.0.rand)); // now switch to scene 1 - all kn ...
-
... ill be released after this much time in seconds. The default is 3 seconds. plot(size, bounds, minval, maxval, parent) Plot this envelope's shape in a window. size - The size of the plot. The default is 400. bounds - the size of the plot win ...
-
... 2x2x2 cube centered around [0,0,0]. You can then use -transform to change it's size, position and rotation. Returns: A new instance. . grid Create a flat NxN grid centered around [0,0,0], spanning [-1,-1,0] to [1,1,0]. Returns: A new insta ...