Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... rawIcon { classvar lightColor, >randomSeed=77, <>globalScale=0.8; *new { |name, rect ... more| rect = (rect ? (32@32)).asRect; ^this.drawFuncs.at(name).value( rect, *more ); // returns pen function } *initClass{ \DrawIcon.asClass.notNil.if{ ...

  2. extWindow Quark

    ... , newBounds; offSet ?? {offSet = this.screenBounds.width}; { win = this.new("", Rect(offSet, 0, 100, 100)); 0.1.yield; win.fullScreen; 0.1.yield; newBounds = win.bounds; 1.yield; win.endFullScreen; 0.3.yield; win.close; newBounds.postln; }. ...

  3. XiiFreqScope Quark

    ... e works only on the local server!"); }); }); } initFreqScope { arg setting; var rect, scope, pad, font, freqLabel, freqLabelDist, dbLabel, dbLabelDist; var setFreqLabelVals, setDBLabelVals; var scopeColor, bgColor, height, busNum; var onOff ...

  4. TestSCHLayout Quark

    ... w("background should be elastic when you resize the window"); h = HLayoutView(w,Rect(0,0,300,300)); h.background = Color.red(alpha:0.1); h.resize = 5; // elastic Array.fill(q, { arg i; var s; s = Slider(h, Rect(0,0,20,75)); s.value = i / q; ...

  5. SGME_GUIPanel4 Quark

    ... losarturoguerra@gmail.com> */ SGME_GUIPanel4 : SGME_GUIPanel { makeWindow { var rect; var image; var left, top; id = 3; super.makeWindow; rect = Rect( left: Window.availableBounds.width/(3/4), top: Window.availableBounds.height/1.9, width: ...

  6. SGME_GUIPanel2 Quark

    ... losarturoguerra@gmail.com> */ SGME_GUIPanel2 : SGME_GUIPanel { makeWindow { var rect; var image; id = 1; super.makeWindow; rect = Rect( left: Window.availableBounds.width/4, top: Window.availableBounds.height/1.9, width: window.bounds.width ...

  7. CtLoopGui Quark

    ... l)) } ) ); ); ( w = Window("record moves and play them").front; t = Slider2D(w, Rect(0,0, 160, 160)) .action_({ |sl| var x, y; x = sl.x; y = sl.y; c.recordEvent(\x, x); c.recordEvent(\y, y); Ndef(\test).set( \pFreq, \pFreq.asSpec.map(x), \p ...

  8. 1b_winbounds Quark

    ... nBounds.storeAll; WinBounds.saveString; ***/ WinBounds.stored.putAll( ( 'Butz': Rect(5.0, 439.0, 123.0, 566.0), 'sharedHistory': Rect(270.0, 35.0, 314.0, 413.0), 'ndefmix': Rect(580, 23.0, 684.0, 489.0), 'Tdef.all': Rect(270.0, 491.0, 274.0 ...

  9. UPatternSpec Quark

    ... = specs.collect({ |argSpec, i| var view; view = argSpec.makeView( vws[ \view ], Rect( labelWidth + 2, i * halfHeight, bounds.width-(labelWidth + 2 + halfHeight + 2), halfHeight-2 ), nil, { |vw| vws[ \val ] = vws[ \val ].copy.put(i,vw.value) ...

  10. UPatternSpec Quark

    ... = specs.collect({ |argSpec, i| var view; view = argSpec.makeView( vws[ \view ], Rect( labelWidth + 2, i * halfHeight, bounds.width-(labelWidth + 2 + halfHeight + 2), halfHeight-2 ), nil, { |vw| vws[ \val ] = vws[ \val ].copy.put(i,vw.value) ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow