Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... kground= col} makeWindow {|pos| pos= pos??{Point(100, 100)}; view.front.bounds_(Rect(pos.x, pos.y, 800, 400)).name_(this.class.name) } focus {|flag= true| waveView.focus(flag); } //--private prReadFile {|paths| var files= List.new; paths.do ...

  2. wsgui Quark

    ... false| this.wsWindowServer !? { if(val, { this.wsWindowServer.sendMsg("/setRedirect", windowID) }, { this.wsWindowServer.sendMsg("/setRedirect") }); } } prPrepareGlobalResponders { responders.add( OSCFunc({|msg, time, addr, recvPort| var c ...

  3. CVWidgetMSEditor Quark

    ... Array; xySlots[i][1] = name; ); }) }) }; window = Window("Widget Editor:"+name, Rect( gapNextX ?? { nextX }, gapNextY ?? { nextY }, 400, 253 )); // window.acceptsMouseOver_(true); xySlots = xySlots.add([Point(nextX, nextY), name]); if(nextX ...

  4. GMXYUserView Quark

    ... sePos { |mousePos, invert = false| mousePos = mousePos.linlin( super.interactionRect.left, super.interactionRect.right, 0, 1 ); if(invert) { mousePos = 1 - mousePos; }; ^mousePos } // Returns the relative Y position of the cursor getYMouseP ...

  5. ServerView Quark

    ... sNil) { this.createView(); }; view.front; } createView { window = Window(bounds:Rect(0, 0, 265, 200), resizable:true, border:border); window.autoRememberPosition(\ServerView); view = window.view.minWidth_(265).minHeight_(200); view.keyDownA ...

  6. BoidsND Quark

    ... ow = Window("Dimensions: % : %".format(whichDimensions[0], whichDimensions[1]), Rect(availableBounds.width-size,availableBounds.height-size,size,size)).front; window.view.background_(Color.white); // get the dimensions plotX = whichDimensio ...

  7. extColPen-PostScript Quark

    ... ray = switch ( cmd[0], \push, { [ "gsave" ] }, \pop, { [ "grestore" ] }, \strokeRect, { cmd[1].asArray ++ [ "rectstroke" ] }, \fillRect, { cmd[1].asArray ++ [ "rectfill" ] }, // ovalstroke doesn't exist // probably need to use curves for th ...

  8. WFPathBufferView Quark

    ... oveDependant( this ); }; all.remove( this ); } setViews { |inWFSPathBuffer| var rect; // views[ \name ].value = inWFSPathBuffer.name ? ""; views[ \filePath ].value = inWFSPathBuffer.filePath; views[ \loop ].value = inWFSPathBuffer.loop.bina ...

  9. sGliss Quark

    ... and side var maxNumTargets= 50; //maximum number of amp and freq targets var winRect= Rect(242, 242, 1150, 780); //x, y, w, h var palette= SGUI.palette((highlight: Color.blue(2/3, 0.5))); var fnt= SGUI.font.copy.size_(10); var fps= 25; var ...

  10. zkarpluck0 Quark

    ... ut = DelayC.ar(signalOut, 0.2, combDelaySec - ControlRate.ir.reciprocal); // correct for buffer size LocalOut.ar(fb*signalOut); SendTrig.kr(Impulse.kr(4), 0, outputDB); outputDB.dbamp*HPF.ar(Mix.new(signalOut), hpFq); //DEBUG outputDB.scope ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow