Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. deprecated-3.5 Quark

    ... eView { // shouldnt really do this to an h or v layout resizeToFit { var r; r = Rect(0, 0, 0, 0); this.children.do({ |kid| r = r.union(kid.bounds) }); this.bounds = r; } }

  2. RedTapTempoGUI Doc

    ... onitor= false; a.close; //embedd the gui into another window ( w= Window("hgf", Rect(100, 200, 500, 500)); w.front; v= View(w, Rect(100, 100, 200, 200)).background_(Color.blue); c= TempoClock(1.4); a= RedTapTempoGUI(c, parent:v); ) c.tempo= ...

  3. RedGUICVKnobNumberName Quark

    ... ke {|parent, bounds, name| var cmp, width1, height1; if(bounds.isNil, { bounds= Rect(0, 0, defaultWidth, defaultHeight); }, { bounds= bounds.asRect; }); cmp= CompositeView(parent, bounds); cmp.decorator= FlowLayout(bounds, 4@0, 4@0); width1 ...

  4. MxControlRecorder Quark

    ... ce.didLoad() }, gui: { arg layout; var l; l = layout ?? {PageLayout("Recorder", Rect(100, 100, 800, 600))}; ~source.gui(l); if(layout.isNil, { l.resizeToFit }) } ));

  5. cthrumusic-axis49.desc Quark

    ... e pads geometrically w = Window("axis49 - selfless layout, 98 keys in columns", Rect(0,0,600,320) ).front; b = (1..98).clump(7).collect { |col, i| var width = 40, angle = 0.0; col.collect { |num, j| var left = i * width * 0.8; var rightHalf ...

  6. XiiClassExtensions Quark

    ... l.if({ if(parent.respondsTo(\view)){ parent.view.bounds }{ parent.bounds } }, { Rect(200 ,140, 705, 410); }); }; width = bounds.width-8; name = name ? "plot"; unlaced = this.unlace(numChannels); minval = if(minval.isArray, { minval.collect( ...

  7. sound_gui_example_filters_and_fft Quark

    ... ins); (1/61).wait; //a tiny bit faster than framerate }; }); win= Window("fft", Rect(10, 100, width, height), false); usr= UserView(win, Rect(0, 0, width, height)); usr.background= Color.black; usr.drawFunc= { Pen.fillColor= Color.white; nu ...

  8. RedKMeans Doc

    ... ist with 1000 centroid indices. one for each vector ( w= Window("k-means plot", Rect(100, 100, 640, 480), false); w.view.background= Color.black; w.drawFunc= { var colors= {|i| Color.hsv(i/a.k, 1, 1)}.dup(a.k); b.do{|vec, i| Pen.fillColor= ...

  9. sCluster Quark

    ... er.port; var maxNumVoices= 100; //maximum number of voices for the synth var winRect= Rect(242, 242, 900, 780); //x, y, w, h var palette= SGUI.palette((highlight: Color.yellow(2/3, 0.75))); var fnt= SGUI.font.copy.size_(10); var fps= 25; va ...

  10. 2_flatcat2_gui Quark

    ... ew.bounds; // a zone for the extra buttons etc var butzone = CompositeView(win, Rect(160, 0, 750, 25)).background_(Color.rand); // a userview to draw the numeric values on var uv = UserView(win, vbounds.top_(vbounds.height).height_(30)) .ba ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow