Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    [ [ 'pan2', {arg pan = 0 -> [-1,1]; Pan2.ar(\in, pan) * 3.dbamp; } ], [ 'bal2', {arg pan = 0 -> [-1,1]; var source; source = \in; Balance2.ar(source[0], source[1], pan) * 3.dbamp; } ], [ 'pan4', {arg panx = 0 -> [-1,1], pany = 0 -> [-1, 1]; ...

  2. GridLines Quark

    ... his.hasSteplikeDisplay) { // special treatment of special case: lines need more space xspec = xspec.copy.maxval_(xspec.maxval * value.size / (value.size - 1)) };*/ // can calc these only on resize n = (bounds.width / 64).round(2); if(domain ...

  3. 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 ...

  4. 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 ...

  5. 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 ...

  6. 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 . ...

  7. 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 ...

  8. PatternBoxView Quark

    ... out([nil, stretch:1, align: \bottom]); // workaround. insert before stretchable space. layoutBindViews.margins_([0,0,0,0]); layoutBindViews.spacing_(5); scrollViewBodyBindViews = ScrollViewFactory.createInstance(this); scrollViewBodyBindVie ...

  9. SpatioScope Quark

    ... stop; z.start; *new(locations, server, parent, bounds) locations : positions in space of [-1, 1] for x and y server : on which server to watch parent : which window or view to show on bounds : view bounds. // supply locations by hand - 1@1 ...

  10. CuePlayerGUI Quark

    ... eycode].postln; */ switch(unicode) {32} { cueTrigger.trigButton.doAction(0) } //space - next cue {98} { if(options.metronome){metronome.bpmBox.focus}} //b - focus on Bpm field {99} { cueTrigger.cueNumberBox.focus } //c - cue number {112} { ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow