-
... 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 ...
-
// 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 ...
-
... false| this.wsWindowServer !? { if(val, { this.wsWindowServer.sendMsg("/setRedirect", windowID) }, { this.wsWindowServer.sendMsg("/setRedirect") }); } } prPrepareGlobalResponders { responders.add( OSCFunc({|msg, time, addr, recvPort| var c ...
-
... 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 ...
-
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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... ], 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 ...
-
... 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 ...