Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. extPen-roundedRect Quark

    ... 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({ ...

  2. README Quark

    ... 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 ...

  3. DoNotation Quark

    ... { |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 ...

  4. MxChannel Quark

    ... .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 ...

  5. XiiClassExtensions Quark

    ... 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 ...

  6. TabbedView2 Quark

    ... 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 ...

  7. MultiFileReader Quark

    ... 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 ...

  8. CutTrig1 Quark

    ... 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 ...

  9. moreHarmonics Quark

    ... 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)); }, ...

  10. SatieConfiguration Quark

    ... 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 ...

prev 111 112 113 114 115 116 117 118 119 120 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow