Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (500) Code (36) Doc (222) Help (81) Quark (152) Plugin (9) SCDoc ↗ Forum ↗ Google ↗
  1. MxMatrixGui Quark

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

  2. Fb1_HopfA Quark

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

  3. EaseOverview Quark

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

  4. GMZZSlider Quark

    ... .new.init; } init { super.init; // Allowed events this.setEventHandler( QObject.mouseUpEvent, \mouseDownEvent, true); this.setEventHandler( QObject.mouseUpEvent, \mouseUpEvent, true); this.setEventHandler( QObject.mouseMoveEvent, \mouseMove ...

  5. Fb1_HopfAFDC Quark

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

  6. BoxMatrix Quark

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

  7. ScaledUserView Quark

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

  8. SmoothSlider Quark

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

  9. PointView Quark

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

  10. GMZZMultiSlider Quark

    ... .new.init; } init { super.init; // Allowed events this.setEventHandler( QObject.mouseUpEvent, \mouseDownEvent, true); this.setEventHandler( QObject.mouseUpEvent, \mouseUpEvent, true); this.setEventHandler( QObject.mouseMoveEvent, \mouseMove ...

prev 11 12 13 14 15 16 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow