Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... n, which will be called at each new phrase. subdivfunc Anything that returns an array of subdivisions when .value is called on it. (This array is normalizeSummed so it always adds up to 1.0). These subdivisions are applied once recursively, ...

  2. extStream Quark

    + Stream { generateAll { arg inval; // don't do this on infinite streams. var array; this.generate({|item| array = array.add(item); }, inval); ^array } }

  3. RecursiveCutProc1 Quark

    ... = of ? {arg q,bpsubdiv; rrand(0,q - 1)*bpsubdiv}; reclevel= rl ? 2; offsetlist= Array.new(0); } chooseblock { var next; if((offsetlist.size)==block, { //new phrase this.newPhraseAccounting; //currphraselength.postln; //number of points avai ...

  4. RedSequencer2 Quark

    //redFrik RedSequencer2 { *ar {|array, dur, reset= 0| ^Duty.ar(dur, reset, Dseq(array, inf)); } *kr {|array, dur, reset= 0| ^Duty.kr(dur, reset, Dseq(array, inf)); } }

  5. RedSequencer Quark

    //redFrik RedSequencer { *ar {|array, trig, reset= 0| ^Demand.ar(trig, reset, Dseq(array, inf)); } *kr {|array, trig, reset= 0| ^Demand.kr(trig, reset, Dseq(array, inf)); } }

  6. TestKDTree Quark

    ... .location) ~node.nearestToNode[0].location */ TestKDTree : UnitTest { classvar <array, <size, <dims, <tree, <array2, <tree2, <>dumpTrees=false; setUp { } tearDown { } // Creates a 3D data structure and tests whether certain searches return ...

  7. TestKDTree Quark

    ... .location) ~node.nearestToNode[0].location */ TestKDTree : UnitTest { classvar <array, <size, <dims, <tree, <array2, <tree2, <>dumpTrees=false; setUp { } tearDown { } // Creates a 3D data structure and tests whether certain searches return ...

  8. ATSSynth Quark

    ... es clicks). freqEnv { |partialIdx| var freqVals = atsSound.freqs[partialIdx].as(Array); var ampVals = atsSound.amps[partialIdx].as(Array); var n = freqVals.size; var held = Array.newClear(n); var lastGood = nil, times; // Forward fill: repl ...

  9. extMix-panSpread Quark

    ... ources over specific number of speakers // using PanAz. + Mix { *panSpread {arg array, nCha = 2, width = 2, offset = 0; //array must be audio-rate this.deprecated( thisMethod, Meta_SplayAz.findMethod(\ar) ); ^Mix.fill( array.size, { |i| Pan ...

  10. SortedNList Quark

    ... // when maxsize, only add if better than last element, if (function.value(item, array.last)) { array.pop; ^super.add(item); }; // else do nothing, i.e. just drop item } // always add them one by one to maintain maxSize addAll { |aColl| aCol ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow