-
+ Number { asSMPTE { |fps, type| ^SMPTE.type( this, (type ? \seconds).asSymbol, fps); } asSizedString { |size = 2, keepWidth = false| if( keepWidth.not ) { size = size.max( this.asString.size ) }; if( this.isNegative ) { ^this.asString.reve ...
-
... Gen { *gr { arg vectors = [[0,0,0]], normal = [0, 0, 1]; // we need to pass the number of vectors, so the unit knows what // control inputs are valid if (((vectors.flat.size / vectors.size) == 3), { ^this.multiNewList(['audio'] ++ vectors.s ...
-
... of MIDI clock messages: clock: Advances the clock by one tick (1/24 beat). The number of ticks per beat is configurable. start: Reset all counters to 0. This ensures that the MIDISyncClock will be synced with the MIDI clock. stop: Clear th ...
-
... of MIDI clock messages: clock: Advances the clock by one tick (1/24 beat). The number of ticks per beat is configurable. start: Reset all counters to 0. This ensures that the MIDISyncClock will be synced with the MIDI clock. stop: Clear th ...
-
/* \sequencer_16 Creates an UMap that can sequence a number (maximum 16) of values (or UMaps) over time. If you need to sequence <= values, it is more efficient to use \sequencer_8. speed: number of steps per second reverse: if true, move b ...
-
/* \sequencer_8 Creates an UMap that can sequence a number (maximum 8) of values (or UMaps) over time. If you need to sequence > 8 values, use \sequencer_16 instead. speed: number of steps per second reverse: if true, move backwards through ...
-
/* \sequencer_16 Creates an UMap that can sequence a number (maximum 16) of values (or UMaps) over time. If you need to sequence <= values, it is more efficient to use \sequencer_8. speed: number of steps per second reverse: if true, move b ...
-
/* \sequencer_8 Creates an UMap that can sequence a number (maximum 8) of values (or UMaps) over time. If you need to sequence > 8 values, use \sequencer_16 instead. speed: number of steps per second reverse: if true, move backwards through ...
-
... oes nothing runs really fast bench({ nil }); // filling a big array with random numbers takes a while longer. bench({ Array.rand(100000, 0.0, 1.0) }); // different operations may take different times bench({ 1000000.do { 3.sqrt.cos } }); be ...
-
... D[width, height], wgrav, 20, 0); //dim,grav,maxvel,damp //--interface ~k= 10; //number of centroids ~www= world; //--objects { var loc= RedVector2D[width.rand, height.rand]; var vel= RedVector2D[0.3.rand2, 0.3.rand2].round(0.1); RedObject(w ...