Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (753) Code (42) Doc (239) Help (64) Quark (397) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. TestKDTree Quark

    ... ; # match2, dist2 = tree2.nearest(probe2); this.assert(dist1 == dist2, "rotated space check: tree.nearest(%) same distance away as tree2.nearest(%)".format(probe, probe2), false); }; this.allNearestTest(tree); } allNearestTest { |tree| var ...

  2. TestKDTree Quark

    ... ; # match2, dist2 = tree2.nearest(probe2); this.assert(dist1 == dist2, "rotated space check: tree.nearest(%) same distance away as tree2.nearest(%)".format(probe, probe2), false); }; this.allNearestTest(tree); } allNearestTest { |tree| var ...

  3. PatternBoxBindView Quark

    ... ,{ if (paramView.keyName.notEmpty && paramView.scriptFieldView.string.stripWhiteSpace().notEmpty, { keyValuePairs.add(paramView.keyName.asSymbol); keyValuePairs.add(paramView.paramProxy); }); }); }; if (keyValuePairs.size == 0, { switch (pa ...

  4. GraphParser Quark

    ... ,y assignment. Now Layout implement only a uniform distribution in the 1200x800 space. Creation / Class Methods *new (graph, runner) GraphParser. graph - a graph. Default value is nil. . runner - a runner. Default value is nil.. g = Graph . ...

  5. Quadriphonic Isochronic and Binaural Brainwave Machine by 0-cS (maszkowicz) Code

    ... our channels has a different frequency inducing several effects in the acoustic space. Feel free to modify the \beat1 and \beat2 parameters. The choice of frequencies follows the "Mystic Solfeggio" which is meant to bring a positive vibr ...

  6. BBlockerProgram Doc

    ... ible randomness) . fillUpRandom . fillUpRandom = value if true , fill remaining space in collection/ Buffer with random numbers between 0 and 255 . . scope ( rate: 20000 , using , leak: false , vol: 0.1 , force: true ) run program and scope ...

  7. ProxyMonitorGui Doc

    ... esName . usesPausSend . usesPlayN . win . zone Examples s.boot; // make a proxy space and a test proxy ( s.scope(8); p = ProxySpace.push; ~test = { |freq = 1000, dens = 5, amp = 1, lev = 3| var freqline = { exprand(0.3, 3) } ! 3 * XLine.kr( ...

  8. EnvironmentRedirect Doc

    ... y) , or ~key = val ). It is used as a basis for classes like LazyEnvir and ProxySpace . Class Methods EnvironmentRedirect. new ( envir ) Create new environment redirect, if envir is passed, it is used as a basis. replacing Environment class ...

  9. SOMTrain Doc

    ... ample) s.boot; ~numnodes = 20; ~traindur = 10000; // First create the data ~dataspace = Buffer.alloc(s, s.sampleRate); // Let's have 1 second of data ~dataspace.sine1([1], true, false); ~dataspace.plot; // Allocate space for the SOM, and in ...

  10. Collection Quark

    ... * 2 ) / frame.size)}); } //calculate the distance of two points in an Euclidean space distance{|that| var delta = 0, distance; if(this.size != that.size){Error("Two arrays should be the same size.").throw}; this.asArray.do{|value, index| if ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow