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

    // June 19, 2001: Added rect method to BFDecode // Mar 3, 2001: Added interior localization stuff after joe anderson // BFEncode.ar takes a polar (or a point), where rho of 1 is the speaker radius. BFEncode { classvar <methodReqs=#['Array.s ...

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

  4. Env editor with knobs to edit individual points by 0-2U (grirgz) Code

    ... val.string = self.controller.get_val; slider = EnvelopeView.new(nil, Rect(0, 0, 230, 80)) .drawLines_(true) .selectionColor_(Color.red) .drawRects_(true) .step_(0) .thumbSize_(10) .keepHorizontalOrde ...

  5. Binary Shift Register Sequencer by Dario Lozano-Thornton by dario-lozano-thornton (Dario Lozano-Thornton) Code

    ... ft Register Sequencer ( Window.closeAll; ~w2 = Window.new("Binary Register", Rect(400,400,200,320)).front.alwaysOnTop_(true); ~w2.view.decorator = FlowLayout.new(~w2.bounds); ~butt = 3.collect{~w2.view.decorator.nextLine;8.collect{Butt ...

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

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

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

  9. FFT additive oversampling (graphical demo of the sampling theorem) by 0-7r (jamshark70) Code

    ... ], inf)).asStream; x = Signal.fill(128, stream); x.plot; ) - If you use a rectangular window and the window can't play continuously as a cycle, there will be a discontinuity from the end of the window to the beginning. The Gibbs effec ...

  10. Spawning Help

    ... a number can be scheduled using a clock: ( var w, r; w = Window .new( "trem" , Rect (512, 256, 360, 130)); w.front; r = Routine ({ arg time; 60.do({ arg i; 0.05.yield; // wait for 0.05 seconds { w.bounds = w.bounds.moveBy(10.rand2, 10.rand ...

prev 171 172 173 174 175 176 177 178 179 180 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow