-
... h Floor, Boston, MA 02110-1301, USA. */ +SequenceableCollection { miSC_partitionIndex { |index| var i = 0, sum = this.first; ^(this.size != 0).if { while { (index + 1) > sum }{ i = i + 1; (i == this.size).if { sum = index + 1; i = nil; }{ s ...
-
+ String { subStr { arg start=0, end; /* Returns a sub-string from start index to end index (0-based). Negative start indexes wrap around from the end. End indexes greater than string length and nil end indexes are forced to string length. ...
-
... rve = 0, clipMode = \ignore, clipSoftness = 0| { var smf, nmf, umf, notes = [], index = 0, chn, cmd, lastChn = -1, current = 69; var ffrange, crve, trange, value, ttype, lastType; var startPos = UPattern.startPos; inf.do { |i| umf = midiFil ...
-
... ntrol( \kr, this.getControlName( type, selector, i ), "bus", i); }); } *getMultiIndex { ^\u_index.ir(0); } *new1 { |selector = \ar, id = 0, endPoint = false| var res; var controls, index; controls = this.getMultiControls( 'i', 'ar' ); index ...
-
... ntrol( \kr, this.getControlName( type, selector, i ), "bus", i); }); } *getMultiIndex { ^\u_index.ir(0); } *new1 { |selector = \ar, id = 0, endPoint = false| var res; var controls, index; controls = this.getMultiControls( 'i', 'ar' ); index ...
-
... tate = true; switch (splitted[1], "osc", { // Ejemplo: "/osc/1/pulse/level" var index = splitted[2].asInteger - 1; var parameter; 3.do({splitted.removeAt(0)}); if (splitted.size == 1, {parameter = splitted[0]}, {parameter = splitted[0]++spl ...
-
... An 'expand' UMap can be used on the 'values' parameter to use UMaps on values. index: the index of the value (0-n) interpolate: linear interpolation between steps on/off vals: the values to select from n: the total number of values (8-128) ...
-
... An 'expand' UMap can be used on the 'values' parameter to use UMaps on values. index: the index of the value (0-n) interpolate: linear interpolation between steps on/off vals: the values to select from n: the total number of values (8-128) ...
-
... } init { var units; units = chain.units; // collects ins in format: // [ unit, index-of-unit, [indices], [buses] ] ins = units.collect({ |unit, i| [ unit, i, unit.perform( this.class.allInGetter ) ]; }) .select({ |item| item[2].size > 0 }) ...
-
... } init { var units; units = chain.units; // collects ins in format: // [ unit, index-of-unit, [indices], [buses] ] ins = units.collect({ |unit, i| [ unit, i, unit.perform( this.class.allInGetter ) ]; }) .select({ |item| item[2].size > 0 }) ...