-
... o rounded rects yet: all + Pen { *roundedRect { |rect, radius| // radius can be array for 4 corners var points, lastPoint; radius = radius ?? { rect.width.min( rect.height ) / 2; }; if( radius != 0 ) { radius = radius.asCollection.collect({ ...
-
... the given `header` string where `size` is the maximum size of the resource. An array of ranges will be returned or negative numbers indicating an error parsing. * `-2` signals a malformed header string * `-1` signals an unsatisfiable range ...
-
... { |string| //ignore ; inside functions //[ Int ] var semicolonsTemp = string.as(Array).asLazy.zip( LazyList.iterate(0, _+1) ).foldl( //list of ; { counter ( counter Tuple2(LazyListEmpty, 0, 0), { |st,x| switch (x.at1) { ${ }{ st.at2_(st.at2 ...
-
... .storeArgs] } init { arg argunits, argfader, nc; units = argunits; unitGroups = Array.newClear(units.size); fader = argfader; source = fader; // 2 proxy layers numChannels = nc ? 2; myUnit = MxUnit.make(this); } makeInput { input = MxChanne ...
-
... 0; while ({ i < this }, { function.value(i, {|val| ^val }) ; i = i+1; }); } } + ArrayedCollection { // - thor /* [11,22,33,44,55,66,77].loop({arg item, i, break; item.postln; if(item == 33, {break.value(222)})}) */ loop {arg function; var i ...
-
... s = false, // disables edge following <>dragTabs=true, <labelColors, // default array of Colors. can be overriden by individual ta <unfocusedColors, // default array of Colors. can be overriden by individual tabs <backgrounds, // default ar ...
-
... iFileWriter .new( "testfile15.txt" ); Task ({ 3.do{ m.open; 20.do{ m.writeLine( Array .fill( 10, { 1.0.rand })); 0.25.wait; }; m.close; 1.0.wait; }; "done" .postln; }).play; n = MultiFileReader .new( "testfile15.tar" ); n.next; n.next; n.ne ...
-
... ack from start of buf, assumes each has a length CutTrig1 : CutSynth { var <>bufarray, <>buffunc, <>rollprob, <>pbsfunc, <>dutycycle; var playdef; *initClass { StartUp.add({ 2.do({arg i; SynthDef.writeOnce(\ct1playbuf++((i+1).asSymbol),{arg ...
-
... d)); // Mixing it all together snd = SelectXFocus.ar( which: select.clip(0, 4), array: snd, focus: 1 - focus.clip(0, 1).sqrt, wrap: false); // Output Stuff: snd = Mix.ar(snd) * amp; snd = Limiter.ar(snd); Out.ar(out, Pan2.ar(snd, pan)); }, ...
-
... rs = #[]; var <minOutputBusChannels = 2; var <userPluginsDir; var <>ambiBus; // array of busses for ambisonics var <>debug = false; var <satieRoot; var <satieUserSupportDir; var <>generateSynthdefs = true; // Plugins needed by the renderer ...