-
... paces { this.collect { |ch| if (ch.isClean) { ch } { $ }; } } // or not. { this.select(_.isClean) } } } + Document { clean { |space=true| var cleanedString; cleanedString = this.string.clean(space); if (cleanedString != this.string, { this. ...
-
... noteOnOffBut, midiNum: num, shared: (style: (row: 2, column: i)) ) } ), ( key: \select, // assuming this is 24-31? was 16-23, copy paste error? elements: (24..31).collect { |num, i| ( key: (i+1).asSymbol, groupType: \noteOnOffBut, midiNum: ...
-
... SupportDir +/+ "downloaded-quarks" +/+ "miSCellaneous*").pathMatch; dirs = dirs.select { |p| PathName(p).isFolder and: { PathName(p +/+ "Classes").isFolder } }; withWarnings.if { case { dirs.size == 0 }{ "\nWARNING: no directory beginning w ...
-
... |y| if(x!=y and:{0.25.coin}, { RedSpring(x, y, 0.2, 0.5, 200.rrand(300)); }); }.select{|x| x.notNil}; }.flat; syns= {Synth(\imp2)}.dup(n); //--loop w.draw{ //--render Pen.smoothing= true; Pen.strokeColor= Color.white; sprs.do{|spr| spr.upda ...
-
... maining ~okvoices.collect(_.name).postln; ~voicesByLang = { |langSym| ~okvoices.select { |dict| dict.langSymbol.asString .beginsWith(langSym.asString) }; }; ~langKeys = ~okvoices.collectAs( { |v| v.langSymbol.asString.split($_).first.asSymb ...
-
... tall("GraphicalModule");` should do the trick. Otherwise, you can use ScIDE and select `Language > Quarks` to install it. In both cases, you will need to recompile the class library after the first installation. #### Getting started GM come ...
-
... imiter = 0; var sound = [InFeedback.ar(inBus1), InFeedback.ar(inBus2)]; sound = Select.ar(limiter, [sound, Limiter.ar(LeakDC.ar(sound))]); Out.ar(0, sound * level.lag(0.1)); }).add; Server.default.sync; synthInstance = Synth("hrDAC"++unique ...
-
... sreim.collect{ |reim, i| (i + reim) * 24 } + baseFreq.cpsmidi).midicps; freqs = Select .kr(sreim.abs > 0, [1, freqs]); amps = sreim > 0; rings = sreim; //rings = sreim > 0; // input HF damping in = (in + HPF .ar(in, highFreq)) * 0.5; DynKla ...
-
... |y| if(x!=y, { RedSpring(x, y, 0.2.linrand, 1.0.linrand, 200.rrand(300)); }); }.select{|x| x.notNil}; }.flat; syns= {Synth(\imp)}.dup(n); //--loop w.draw{ //--render Pen.smoothing= true; Pen.strokeColor= Color.white; sprs.do{|spr| spr.updat ...
-
... ist = super.choose; list !? { ^list.choose }; ^nil } /* // problem: // collect, select, reject should iterate over the objects keysValuesDo { arg function; this.keysValuesArrayDo(array, { |key, val, i| val.do { |el, j| function.(key, el, i, ...