Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (114) Code (10) Doc (18) Help (10) Quark (76) SCDoc ↗ Forum ↗ Google ↗
  1. SVGObject Quark

    ... as if it were one. plot creates a SCWindow (or a JSCWindow if GUI.scheme.id == 'swing' ) and plots the object in it. draw to be used inside a drawHook or drawFunc; draws the object. asPenFunction returns a function for drawing asGUICode ( p ...

  2. BBCutBuffer Quark

    ... ultiplied by some constant, could be zero, to use quantise positions //how will swing work? must delay second semiquavers timedeviations= (onsetsinbeats-quantised)/bps; //if less than a mS, set to zero timedeviations.do({arg val, j; if(abs( ...

  3. SETOServer Quark

    ... isible objects. gui creates a gui representing recognized objects Examples GUI .swing; GUI .cocoa; SwingOSC .default.boot; SwingOSC .default.quit; // add and remove some objects t = SETOServer ( "_ixyzuvw" , SETObject ); t.gui t.set(0, [3, ...

  4. HrPresetMorph Quark

    ... anReceiveDragHandler_({ true; }) .receiveDragHandler_ ({|...args| if(GUI.id == \swing, { mouseXY = 10@10; }); if(canvasItems.detect({|item| item.name == presetList.items[presetList.value] }).notNil, { parentApp.displayStatus("HrPresetMorph: ...

  5. PeakMonitorGui Quark

    ... axRecent, recentSize, maxClip; // workaround for crucial gui issue // closing a Swing window executes viewDidClose before calling remove on me // so the model variable is already nil and .remove doesn't clean up the model // I'll keep the m ...

  6. PeakMonitorGui Quark

    ... axRecent, recentSize, maxClip; // workaround for crucial gui issue // closing a Swing window executes viewDidClose before calling remove on me // so the model variable is already nil and .remove doesn't clean up the model // I'll keep the m ...

  7. extPen-roundedRect Quark

    // wslib 2006 // 1st step to SwingOsc compat :: 03/2008 // - no rounded rects yet: all + Pen { *roundedRect { |rect, radius| // radius can be array for 4 corners var points, lastPoint; radius = radius ?? { rect.width.min( rect.height ) / 2; ...

  8. HadronPlugin Quark

    ... (false) .acceptsMouseOver_(true); outerWindow.view.keyDownAction_ ({|...args| //SwingOSC has different key bindings //args.postln; if(GUI.id == \swing, { args[2].switch(131072, { args[2] = 131074; }); //keyboard bindings }); if((args[1] == ...

  9. wslib-history Quark

    ... objects - enabled "opacity" element support - drawing now fully compatible with SwingOSC using GUI.swing. various small improvements 0.1 initial version, assembled on 11/05/2007 wslib is the result of about 3 years of work. It used to be ju ...

  10. extPen-transformToRect Quark

    ... eAmt) + rect.origin.asArray ); Pen.scale( *scaleAmt ); /* if( GUI.scheme.id == 'swing' && {(scaleAmt[0] != scaleAmt[1])} ) { Pen.translate( 0.5, 0.5 ); }; // temp correction for swingosc half-pixel bug */ ^Pen; } } + Point { transformToRect ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow