Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2937) Code (123) Doc (1095) Help (322) Quark (1383) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. FoaMatrixChain Quark

    ... , { |mtx| Matrix.newIdentity(4) }, ]; // clump into triplets: [[name, ctlSpecs, function], ...] xformSpecs = xformSpecs.clump(3); // pack the above transform specification triplets in to a dictionary xFormDict = IdentityDictionary(know: tru ...

  2. HISTORY Quark

    ... .0.10 1.12.0 / 2015-02-13 =================== * add `debug` messages * accept a function for the `type` option * use `content-type` to parse `Content-Type` headers * deps: iconv-lite@0.4.7 - Gracefully support enumerables on `Object.prototy ...

  3. XiiGrainBox Quark

    ... _(poolindex); ldSndsGBufferList.value(pool); }); } // ================ THE INFO FUNCTION (CALLED FROM BUTTON) ======================== infoFunc { var w, r, colList, stringList, b; colList = [ Color.new255(255, 140, 0), // Orange Color.new25 ...

  4. Polynomial Quark

    ... ); angle = p.angle / m; incr = 2pi / m; while({ m > 0 }, { //TO DO: MAKE INTO A FUNCTION (CAN BE USED AT MULTIPLE PLACES) if((angle-0.0).abs < 1e-14 or: { (angle-pi).abs < 1e-14 } or: { (angle-2pi).abs < 1e-14 }, { zroots = zroots.add(magni ...

  5. WFSLib Quark

    ... .numOutputBusChannels }) { "previewMode '%' needs at least % output channels to function properly.\n!! Please set numOutputBusChannels to % or higher !!".format(previewMode, ncha, ncha ).warn; }; } *makePreviewModeCtrl { previewModeCtrl.rem ...

  6. MKtlDesc Quark

    ... ies for these.\n" .postf(candidate.desc) }; "".postln; ^candidate.desc } // non-functional duplicate to updateCaches // *checkCaches { // var cacheTime, lastDescTime; // descFolders.do { |folder, i| // var files = this.findFile("*", i); // ...

  7. CVWidget Quark

    ... ").throw }; action ?? { Error("Please provide an action!").throw }; if(action.isFunction.not and:{ action.class !== FunctionList and:{ action.interpret.isFunction.not } }, { Error("'action' must be a function or a string that compiles to on ...

  8. FoaMatrix Quark

    ... dant. TODO: Replace with updated HOA implementation. */ // Heller's DDT (helper function) FoaSpeakerMatrix { var <positions, <k, m, n; *new { |directions, k| var positions; switch(directions.rank, // 2D or 3D? 1, { positions = Matrix.with( ...

  9. edit-gui Quark

    ... se along with this program. If not, see <https://www.gnu.org/licenses/>. **/ // function to jump across a bracketed group ( Proto { ~delimiters = IdentityDictionary[$( -> $), $) -> $(, $[ -> $], $] -> $[, ${ -> $}, $} -> ${, $\" -> $\", // ...

  10. TestSCLOrkWire Quark

    ... idle!", false ); } } // A localhost-only wrapper around a NetAddr that calls a function before // sending any data, allowing testing code to predictably drop packets. SCLOrkFlakyLocalNetAddr { classvar <>verbose = false; var port; var shou ...

prev 131 132 133 134 135 136 137 138 139 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow