-
... var bounds, <focusedPoint; var <>currentDragPoint, draggingXY, draggingOutlet, mouseDownPoint, isDown=false; var <selected, hovering, dragging; var points; var <>ioHeight=10, <>faderHeight=80.0; var <>dragOn=4; // pixel distance to initiat ...
-
... ard params lead to high level output // reasonable adaption with sine source // mouse left turns source down, but oscillator still keeps frequency // move mouse to right to turn source on again ( x = { var ratio = Demand .ar( Impulse .ar(3) ...
-
... -similar in sclang and inside synthdefs s.boot { SinOsc .ar( EaseInOutExpo .kr( MouseX .kr)*500+500, 0, 0.1)}.play a.collect{ |x| EaseInOutExpo. (x)}.plot //--rates are flexibe when used inside synthdefs { SinOsc .ar( EaseInAtan. ( SinOsc . ...
-
... .new.init; } init { super.init; // Allowed events this.setEventHandler( QObject.mouseUpEvent, \mouseDownEvent, true); this.setEventHandler( QObject.mouseUpEvent, \mouseUpEvent, true); this.setEventHandler( QObject.mouseMoveEvent, \mouseMove ...
-
... .01, 0.01, 1], 0.3, 0.3); // adaption to sine source (R) by Fb1_HopfAFDC (L) // mouse left turns source down for the Hopf // for comparison the source continues in the right channel // move mouse to right to turn source on again ( x = { var ...
-
... umCols; var bounds,boxes,<focusedPoint,handlers; var <>draggingPoint,draggingXY,mouseDownPoint; var <>dragOn=inf; // pixel distance to initiate drag or a symbol like \isCntrl var <>background,<styles,<defaultStyle; var pen, boxWidth,boxHeig ...
-
... 009: altered for SwingOsc compatibility // TODO: correct half pixel problem for mouse feedback ScaledUserView { classvar <>defaultGridColor; var <gridColor; var <view, <>fromBounds; var <scaleH = 1, <scaleV = 1, <moveH = 0.5, <moveV = 0.5; ...
-
... .sliderBounds; ^(bounds.width.max(bounds.height) - this.thumbSize).reciprocal } mouseDown { arg x, y, modifiers, buttonNumber, clickCount; var bounds, oldValue; if( enabled ) { mouseDownAction.value( this, x, y, modifiers, buttonNumber, cli ...
-
... apply to movement speed if randomized var extrinsicRotation = false; // flag if mouse interaction requires additional extrinsic rotation var exRot = 0, exTum = 0, prevExRot = 0, prevExTum = 0; var rotPxStep = 1; // views // TODO: showView, ...
-
... .new.init; } init { super.init; // Allowed events this.setEventHandler( QObject.mouseUpEvent, \mouseDownEvent, true); this.setEventHandler( QObject.mouseUpEvent, \mouseUpEvent, true); this.setEventHandler( QObject.mouseMoveEvent, \mouseMove ...