Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. color picker by lfsaw (LFSaw) Code

    ... win, scr, currentColor = Color.gray, setColor; win = Window.new("color picker",Rect(400, 400, 2*scrsize+20, scrsize),false).front; //win.view.background_(Color.white); scr = UserView.new(win,Rect(scrsize+20, 0, scrsize, scrsize)); s ...

  2. OSCIISlider Quark

    ... arg w, bounds, name, min=0.0, max=1.0, start=0.0, step=0.0, warp=\lin; var namerect, numberrect, slidrect; font = GUI.font.new("Helvetica", 12); lastval= start; spec = ControlSpec(min,max,warp,step,start); if ( GUI.id == \cocoa, { namerect ...

  3. VoicerGUI Quark

    ... ut = lay = ResizeHeightFlowWindow (title ?? { model.asString.copyRange(0,50) }, Rect(0, 0, width1 + if(small, 10, width2 + 30), height)); iMadeMasterLayout = true; // now when I'm removed, I'll close the window too },{ masterLayout = lay; / ...

  4. MIDIKeyboard Quark

    ... rtnote); window - A SCWindow in which the MIDIKeyboard will appear bounds - The Rect of the MIDIKeyboard octaves - The number of octaves on the keyboard startnote - The MIDI note number of the first key (48 is the default - that's C3) keyDo ...

  5. VoicerGUI Quark

    ... ut = lay = ResizeHeightFlowWindow (title ?? { model.asString.copyRange(0,50) }, Rect(0, 0, width1 + if(small, 10, width2 + 30), height)); iMadeMasterLayout = true; // now when I'm removed, I'll close the window too },{ masterLayout = lay; / ...

  6. GrainOTec by simon (Dindoléon) Code

    ... oat.rand] ) }); lifetime.yield; }; }.play(); win = Window("GrainOTec", Rect( 5, 5, 305, 300 ), false ); win.background_(Color.black); win.front; // Volume Slider volume_slider = UserView( win, Rect( 5, 5, 45, 190 )); volume_ ...

  7. HadronPlugin Quark

    ... instance with these functions (argument will be the saved value) oldWinBounds = Rect(argBounds.left, argBounds.top, argBounds.width, argBounds.height + 40); outerWindow = Window(argName + ident, oldWinBounds, resizable: false) .userCanClose ...

  8. ParaSpace Quark

    ... same time and drag them around. >> Use ctrl+click to create a node << >> Draw a rect around one or more nodes to select them << >> Use backspace to delete a selected node << >> Hold down 'c' to connect (a) selected node(s) to another node < ...

  9. Pen Doc

    ... moveTo lineTo line curveTo quadCurveTo arcTo addArc addWedge addAnnularWedge addRect addOval Draw the path stroke fill draw fillStroke Construct and draw strokeRect fillRect strokeOval fillOval Gradients fillAxialGradient fillRadialGradient ...

  10. UBasicEditView Quark

    ... itView { var <object, <view; var <selected; var <>action, <>onClose; var <selectRect, <hitIndex, <moveHitPoint; var <prevMouseMode; var <hitPoint, <lastPoint, <optionOn = false; var <mouseMode = \select; // \select, \zoom, \move (move canva ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow