Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2366) Code (121) Doc (629) Help (191) Quark (1309) Plugin (116) SCDoc ↗ Forum ↗ Google ↗
  1. parsenodes Quark

    ... + 1 } siblings { ^if(parentNode.notNil) { parentNode.children }; // else nil } index { var sibs = this.siblings; ^if(sibs.notNil) { sibs.indexOf(this) }; // else nil } nearbySib { |incr = 1| var sibs = this.siblings, i; ^if(sibs.notNil) { ...

  2. HoaMatrixRotation Quark

    ... ree == 1, { ^r }); r_lm1 = r_1; // 1st band becomes "previous" band_idx = 4; // index into output matrix for placing each new band sub-matrix // compute rotation matrix of each subsequent band recursively // for band 2 to "l" (2..maxDegree) ...

  3. EnvScaleView Quark

    ... .moveTo(breakPointCoords[0].x@(me.bounds.height + 1)); (1..breakPointCoords.lastIndex) do: { |i| lineResolution do: { |j| var k = j/(lineResolution - 1); Pen.lineTo( (breakPointCoords[i - 1].x + (k*(breakPointCoords[i].x - breakPointCoords[ ...

  4. TZeroXBufRd Quark

    ... . Must refer to data passed to sndBuf . bufMix - A Number indicating the sndBuf index, a demand rate or other ugens returning sndBuf indices or a SequenceableCollection of such. If bufMix equals nil (default) the size of the returned signal ...

  5. CHANGELOG Quark

    ... : Pwhite(0.2, 0.7), freq: Pseq([440, 880], inf) )).play; //Use ~player for both indexing values and triggering the pattern ~pattern = AP(( def: { SinOsc.ar(\freq.kr + \freq2.kr) * EnvPerc.ar }, freq: ~player[\freq], freq2: ~player.read({ | ...

  6. wsgui Quark

    ... nc.value(hostport)}; } interpretWsData {|hostport, data| var objID, value, commaIndex, dataString; dataString = data.asString; commaIndex = dataString.find(","); // #objID, value = data.asString.split($,); //this is not working for values t ...

  7. Rational Quark

    ... rseDo yields four. do yields the counter as an Integer, // which is what a loop index is for; reverseDo counts down from this - 1, so // its values are rational whenever the receiver is. do { arg function; var i = 0, limit = this.asInteger; ...

  8. KDTree Quark

    ... depth % (array[0].size - if(lastIsLabel, 1, 0)); // We want to find the median index, but if even-sized data we want to // make sure we find a point, so we don't use the average-of-two-centre-points that .median uses medianPos = array.size ...

  9. KDTree Quark

    ... depth % (array[0].size - if(lastIsLabel, 1, 0)); // We want to find the median index, but if even-sized data we want to // make sure we find a point, so we don't use the average-of-two-centre-points that .median uses medianPos = array.size ...

  10. ATSResidual Quark

    ... 0.0) and: { f > 0.0 }) { pe = (pa * pa) * 0.5; // sinusoidal power // find band index for this frequency b = nBands - 1; block { |break| nBands.do { |bi| if((f >= bandEdges[bi]) and: { f < bandEdges[bi + 1] }) { b = bi; break.value; } } }; ...

prev 121 122 123 124 125 126 127 128 129 130 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow