Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. XiiSoundFileView Quark

    ... caller is bufferpool win = GUI.window.new(filename+" - bufferPool: "+poolname, Rect(200, 600, 800, 248), resizable:false).front; // }, { // else it is the bufferplayer // win = GUI.window.new(filename, // Rect(200, 500, 800, 238), // resiz ...

  2. SmoothNumberBox Quark

    ... rpreted after hitting the enter key. ( w = Window ( "SmoothNumberBox Example" , Rect ( 100 , 500 , 400 , 120 )).front; b = SmoothNumberBox (w, Rect ( 150 , 10 , 100 , 20 )); b.value = rrand( 1 , 15 ); b.action = { arg numb; numb.value.postl ...

  3. devEnvironment Quark

    ... w.maxAcross_(1)); }); ~toolbarFlow.isNil.if({ AbstractChuckArray.loadFromChuckDirectories("devPreMIDIcfg.scd"); MIDIPort.init(~srcInports); MIDIPort.resetAll; MIDIPort.autoFreeSockets = false; // protect midi controllers from being destroye ...

  4. devEnvironment Quark

    ... w.maxAcross_(1)); }); ~toolbarFlow.isNil.if({ AbstractChuckArray.loadFromChuckDirectories("devPreMIDIcfg.scd"); MIDIPort.init(~srcInports); MIDIPort.resetAll; MIDIPort.autoFreeSockets = false; // protect midi controllers from being destroye ...

  5. Timeline Quark

    ... ist; var makeLine, makeDots, dotColors; plotWindow = Window("Timeline", bounds: Rect(700, 500, width: 800 , height: 120), scroll: true).front; plotUserView = UserView(plotWindow , plotWindow.view.bounds); plotWindow.view.keyDownAction = { a ...

  6. SmoothScrollView Quark

    ... ew", bounds).front; resize = 5; bounds = (bounds ?? {(parent.asView.bounds)}).asRect.moveTo(0,0); bounds !? { bounds = bounds.insetBy(2) }; }; ^super.new.init( parent, bounds, resize); } init { |parent, bounds, inResize| var sliderSpace; sl ...

  7. 016-repulsive2 Quark

    ... ht= 300, w, wgrav, world, n= 10, rep; //--world w= RedWindow("repulsive test2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.1]; world= RedWorld(RedVector2D[width, height], wgrav, 5); //dim,grav,maxvel,damp //--objects rep= ...

  8. CactusGUI Quark

    ... ntSize = 11; marginTop = 3; } createMainWindow { var winWidth, winHeight, windowRect; winWidth = 256; winHeight = 330; windowRect = Rect( GUI.window.screenBounds.width-winWidth*0.5, GUI.window.screenBounds.height*0.5, winWidth, winHeight); ...

  9. XiiEventRecorder Quark

    /* w = Window.new("w", Rect(10,10, 600, 600)).front; a = XiiEventRecorder(s, 1, w); // next to do: instead of diskin, make an array of small buffers // buffer recording starts when onset detected and stopped when off. then put into array. S ...

  10. 020-friction Quark

    ... w, world, acc, vel, loc, obj, fric, ff; //--world w= RedWindow("friction test", Rect(128, 64, width, height)).front; world= RedWorld(RedVector2D[width, height], 0, 30, 0.8); //dim,grav,maxvel,damp //--objects acc= RedVector2D[0, 0]; vel= Re ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow