-
+ Collection { detectAll { | function| // variation on select var res = Array.new(this.size); this.deprecated( thisMethod, this.class.findRespondingMethodFor( \select ) ); this.do {|elem, i| if (function.value(elem, i)) { res.add(i) } } ^re ...
-
... v| network.setData( id, v ) } ) }, dt, autostart: false ); network.setData( id, Array.fill( bus.numChannels, 0 ) ); this.node.bus_( bus ); } start{ watcher.start; } stop{ watcher.stop; } node{ ^network.nodes[id]; } } SWCombineNode{ var <net ...
-
... il.if{ // make sure there are as many states as universes var states = [state.asArray, universes].flop.flop.first; universes.do({|universe, i| this.setState(states[i], universe.id); }); ^this; }; // fail silently to be compatible with multi ...
-
... [1].valueIsMapped_( bool ) } mappedArgs { ^udefs[0].mappedArgs } mappedArgs_ { |array| udefs.do(_.mappedArgs_(array)) } canInsert { ^udefs[0].canInsert } canInsert_ { |bool| udefs.do(_.canInsert_(bool)) } insertArgName { ^udefs[0].insertArg ...
-
... heckSpec = Spec.specs.at(\scale); if(checkSpec.isNil, { Spec.specs.put(\scale , ArraySpec.new(StaticSpec(-100, 100, \linear))); }, { if(checkSpec.isKindOf(ArraySpec).not, { ("scaleStream Instr trying to init \scale Spec: \scale is previousl ...
-
... pitch range and lookBack in upper voice, // as with most patterns, no automatic array expansion of pattern arguments ( p = Pbind ( \dur , 1/7, \src , Pseg ( Pseq ([65, 85], inf ), 5, \sin ).round, \midinote , Ptuple ([ PIdev ( Pkey ( \src ) ...
-
... <>stemdir, <>staffid, <>clef, <>key, <>timeSig; // GuidoPart Objects will be an array Array of GuidoEvents *new {arg id, instr, events, clef, key, timeSig, stemdir = \stemsAuto, staffid; staffid = staffid ?? {id}; events = events ? []; ^sup ...
-
... ionary { sortedKeysValuesCollect { arg function, sortFunc; var keys = this.keys(Array); var res = this.class.new(this.size); keys.sort(sortFunc); keys.do { arg key, i; res.put( key, function.value(this[key], key, i) ); }; ^res; } }
-
... ' * deps: iconv-lite@0.4.24 - Added encoding MIK * deps: qs@6.7.0 - Fix parsing array brackets after index * deps: raw-body@2.4.0 - deps: bytes@3.1.0 - deps: http-errors@1.7.2 - deps: iconv-lite@0.4.24 * deps: type-is@~1.6.17 - deps: mime-t ...
-
... to store optional infos related to the vertex. If you need more values, use an array. [...]: each following array represents an edge starting from the vertex this means: n arrays --> n edges from vID The format of an edge array is: end: th ...