-
... tes_(but.states) }; but.action = action; } *update { var namesToShow = all.keys(Array).sort; namesToShow = names ++ (namesToShow.removeAll(names)); if (Butz.hasWin) { this.checkFontSize; pop.items = namesToShow; pop.value = namesToShow.inde ...
-
... ; { cond = Condition(false); number.do{|index| cond.test = false; if(channels.isArray, {thisChan = channels[index]}, {thisChan = channels}); this.add(thisChan, {|val| cond.test = true; cond.signal; arr = arr.add(val) }); cond.wait; }; actio ...
-
... rn.asStream; dropSize = maxKeySize; //"dropSize: %\n".postf(maxKeySize); list = Array.new(maxContextSize * 2); loop { // fill up the list dropSize.do { outval = stream.next(inval); outval !? { list = list.add(outval) }; // overridden in sub ...
-
... otNil) { tokenizer.value(string, delimiter) } { if(delimiter.isNil) { string.as(Array) } { string.split(delimiter) } } } prKeepAll { |tokens| var res; if(verbose) { "keepin all tokens".postln }; beginFunc.value; res = tokens.collect { |toke ...
-
... bsequences; //.log; } { |err| err.errorString.postln; } } // return n cycles as arrays of [\coin, \delta, \str, \num] arrays *steps { |str, n=1| var root = JSMN.consume(str); root .attachModifiers .doRepeats .detectSubsequences .log; n.do { ...
-
... ; init{arg base=0, type="M"; var def = ChordsDefinitions.new.init(); chordsList=Array.new(500); switch (type) {"M"} { chordsList.add (Harmony.new.init(base+0+def.str2Ac("M"))); chordsList.add (Harmony.new.init(base+2+def.str2Ac("m"))); chor ...
-
... log fix (@thebigredgeek) 2.6.2 / 2017-03-10 ================== * Fix: DEBUG_MAX_ARRAY_LENGTH (#420, @slavaGanzin) * Docs: Add backers and sponsors from Open Collective (#422, @piamancini) * Docs: Add Slackin invite badge (@tootallnate) 2.6. ...
-
... sig = in.madd(ixivAmp).rotate(-1); z = DelayN.ar(sig, 1, predelay); y = Mix.ar(Array.fill(7,{ CombL.ar(z, 0.05, rrand(0.03, 0.05), combdecay) }).scramble); 6.do({ y = AllpassN.ar(y.rotate(1), 0.050, rrand(0.03, 0.05), apDecay) }); y+in; } ...
-
... 1 Block.remove(5); //remove block number 1 Block.removeArr([1,3, 5]); //remove array of blocks Block.removeAll; Block.ndefs.dopostln; Block.blocks; ////// Block.addNum(4, 1); Block.playNdefs; SynthFile.postAll(\block); Block.play(1, \sine, ...
-
... riplets to tripletIDs basic = this.bases.collectAs({ arg char; char.asString }, Array); tripletDict = IdentityDictionary.new; count = 0; basic.do({ arg item1; basic.do({ arg item2; basic.do({ arg item3; tripletDict.put((item1++item2++item3) ...