Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... var neighbors, vec, count, nearestNeighbors, velAvg, posAvg, nIdx; neighbors = Array.newClear(numBoids-1); nIdx = 0; // index for neighbors vec = RealVector2D.zero; // for rule 2 count = 1; // for rule 2 // get some averages posSum = posSu ...

  2. GMGridButton Quark

    ... n_ { |aFunction| this.action_(aFunction); } states { ^thisStates } states_ { |anArray| this.free; anArray.do({ |item, index| if(item.isKindOf(String)) { anArray[index] = ( string: item, color: super.backgroundColor, fontColor: super.valueFo ...

  3. SWDataNetworkSpec Quark

    ... t label) to the spec. slot can be the node ID (one integer), or the slot ID (an Array of two integers). - Named access to nodes, values and actions - at ( key ) Returns the node or slot at key value ( key ) Get the value of the node or slot ...

  4. NPModules Quark

    ... oxy var pspace = ProxySpace.all.selectAs({|space| space.envir.includes(proxy)}, Array).first; // first match pspace.isNil.if({ Error("AbstractPlayControl: could not find ProxySpace for given proxy. Did you name your proxyspace?").throw; }, ...

  5. SpeakerAdjust Quark

    ... ralyzer.help for a related tool. *ar(ins, specs, vol) // static settings ins an array of audio channels to be processed/adjusted specs the adjustment specifications: one list for each channel consisting of [ amp, a multiply factor for this ...

  6. XiiToshioAgent Quark

    XiiToshioAgent { var node, oldnode; var toshioArray, agentArray; var userview; var clock, timermode, playmode; var outbus, globalvol; var server, poolName, tempo; var silentBuf, toshioNodeSampleIndexArray; var loopmode; *new {arg node, tosh ...

  7. 01_GuidedTour Quark

    ... s, anything. // all the math operations here: SimpleNumber.help // Collections, Arrays, Lists, Dictionaries [ 1, 2, 3 ]; [ 1, 2, 3 ].dump; List[ 1, 2, 3 ]; (a: 1, b: 2, c: 3); ~list = [ 1, 2, 3, 5 ]; ~list.dump; ~list.at(0); // at index beg ...

  8. ContextSnake Quark

    ... estSnippets(sample) }; var numOverlaps = allSnips.size - 1; var shortOverlaps = Array.new(numOverlaps); numOverlaps.do({ |snip, i| shortOverlaps.add(allSnips[i][1] - allSnips[i+1][0] + 1) }); shortOverlaps.postln; ^shortOverlaps.every(_ > 0 ...

  9. XiiPoolManager Quark

    ... 10, 5, 140, 16)) .font_(GUI.font.new("Helvetica", 9)) .items_(bufferDict.keys.asArray) .value_(0) .background_(Color.white) .action_({ arg item; }); delPool = GUI.button.new(win, Rect(10, 27, 67, 16)) .canFocus_(false) .font_(GUI.font.new(" ...

  10. README Quark

    ... uirements of the control of EventStreamPlayers with VarGui. "Event patterns and array args" focusses on passing arrays to synths with patterns. "enum" is a general enumeration method suited for many combinatorial problems such as listing su ...

prev 131 132 133 134 135 136 137 138 139 140 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow