Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... off]); i= i+len; if(i<input.size, { out.add(input[i]); i= i+1; }); }); }); ^out.array; } *decompress {|input| var out= List[], i= 0, len, off; while({i<input.size}, { len= input[i]; if(len==0, { out.add(input[i+2]); }, { off= input[i+1]; wh ...

  2. extProxySupport Quark

    ... ess { |key, value| if (key.isFilterRole) { ^[0, 1].asSpec }; if (value.isKindOf(Array)) { value = value[0] }; if (value.isKindOf(SimpleNumber).not) { ^nil }; // label units as \guess so one can throw spec away later. ^if (value.abs > 0) { C ...

  3. EV Quark

    ... anged(\synch, this); } connect { | view | ^EVSync(this, view) } asOSCArgEmbeddedArray { | array| var retVal = value.copy; if (rateWarp.notNil) { retVal.levels = retVal.levels.midiratio; retVal = retVal.rateWarp; }; ^retVal.asArray.asOSCArgE ...

  4. PSPdiv Quark

    ... tern in this case. If a Function is given, it will be passed 4 arguments: .) an array of durations of the current division, based on the following arguments .) the current division number div .) the current division base number divBase .) t ...

  5. SWTrigBusNode Quark

    ... t - threshold; trig2 = threshold - input; // reverse trigger SendTrig.kr( trig, Array.series( nc, 0, 1 ), trig ); SendTrig.kr( trig2, Array.series( nc, nc, 1 ), trig2.abs ); Out.kr( out, [trig, trig2].flatten * mul); }).send(s); } myInit{ s ...

  6. XiiPitchCircle Quark

    ... s.rotate(offset); notes = notes.rotate(offset); }); } hlDots_ {|dots| if(dots.isArray.not, { dots = dots.bubble; }); ^aHLDots = dots; } hlDots { ^aHLDots } mod_ {|mod| this.makeNotes(aMod: mod); } tonic_ {|tonic| this.makeNotes(aTonic: toni ...

  7. Patch Quark

    ... xies [ input , deepOffset, argName, spec ] annotatedInputProxies { arg offset=0,array; // [ input , deepOffset, argName, spec ] var inputs; inputs = this.inputs; if(array.isNil,{ array = [] }); inputs.do({ arg a,i; if(a.isKindOf(PlayerInput ...

  8. + Cluster Quark

    ... rver{ ^ClusterServer.new([this]) } } + Group{ asClusterGroup{ ^ClusterGroup.fromArray([this]) } } + OSCBundle{ asClusterBundle{ ^ClusterOSCBundle.fromArray([this]) } } + SynthDef{ sendCluster{ |clusterServer| clusterServer.items.do{ |server ...

  9. extUGenNodeLaTeX Quark

    ... res } } + ControlUGenNode { asLaTeX { var nm = names; nm = (nm ?? ["\\dots"]).asArray.extend(arguments.size.max(1), "\\dots"); nm = nm.collect { |x, i| if(arguments[i].notNil) { x = x ++ "^{" ++ arguments[i] ++ "}"; }; x }; ^nm.asLaTeX } } ...

  10. BarMap Quark

    ... p to convert beats to bar numbers over a time line // signatures are notated as arrays: [3,4] means a signature of 3/4 // events: a sorted array with elements [ num, denom, bar, beat, numBars ] // the last two items of the array (beat, numB ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow