Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2329) Code (180) Doc (734) Help (210) Quark (1189) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. Color Picker by codepool (codepool) Code

    ... UIs ( // OSX Only var res = 20, scrsize = 200, val, set, win, scr; win = Window.new("SCColorChooser",Rect(400, 400, 2*scrsize+20, scrsize),false).front; win.view.background_(Color.white); scr = CompositeView.new(win,Rect(scrsize+20 ...

  2. Additive Synthesis GUI Demo 2 by bruno (Bruno Ruviaro) Code

    ... = Bus.control(s); ampBus.value = 0.1; sndBus = Bus.audio(s, 2); // Main window Window.closeAll; win = Window.new("Additive Synthesis", Rect(400, 30, 590, 670)); win.view.decorator = FlowLayout(win.view.bounds, 20@20, 20@20); ...

  3. spinning doughnut by fredrik-olofsson (Fredrik Olofsson) Code

    ... var segments= 40; var minorRadius= 0.667; var majorRadius= 1; w = Window("spinning doughnut", Rect(128, 64, width, height), false) .front; u = Canvas3D(w, Rect(0, 0, width, height)); u.add(Canvas3DItem() .paths_( ...

  4. Env editor with knobs to edit individual points by 0-2U (grirgz) Code

    ... ontally with shift+mouseDrag. Show also a way to write classes with events ( ~windowize = { arg layout; var win; win = Window.new; win.layout = layout; win.front; }; ~env_controller = ( new: { arg self, env, spec; s ...

  5. multiple wavetable animation by elifieldsteel (eli.fieldsteel) Code

    ... for multiple wavetable interpolation ( //after running code, esc key to close window and abort animation var wt0, wt1, result, wt0view, wt1view, resultView, animateFn, wmean, numSteps, animate, wtIndex, win, wtPosBox, wtPosView; a ...

  6. Cellular Automaton by coreyker (coreyker) Code

    ... GUI width = 600; height = width; n = 13; space = width/n; // make a new window w = Window.new("automata", Rect(100,100,width,height)); // make empty data structure to hold program state cells = []; cellCreator = {|row, col, ...

  7. Visual demonstration of aliasing/foldover (modified from James Harkins) by jnarveson (jnarveson) Code

    ... ble sampling rate, and changed some colors. // Jascha Narveson var screen = Window.screenBounds, height = (screen.height - 120).asInteger, width = (screen.width - 120).asInteger, win = Window(\aliasing, Rect.aboutPoint(screen.cente ...

  8. Superclip Tweet by schemawound (Schemawound) Code

    //This tweet sounds pretty awesome on the windows version but I cannot get supercollider to render a proper recording of it. fork{x={Klang.ar(`(Array.fill(20,{[500.rand,1.0.rand,2pi.rand]})))};loop{play{x.()*x.()*x.()*EnvGen.kr(Env.line ...

  9. FFT additive oversampling (graphical demo of the sampling theorem) by 0-7r (jamshark70) Code

    ... tream; 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 effect is obvious ...

  10. moving sound by lambda (lambda) Code

    ... ///// GUI////////////// /////////////////// //////////////////////////// w=Window("sineVisualizer", Rect(100, 400, 400, 300)); w.view.decorator = FlowLayout(w.view.bounds); f1S= EZSlider(w, 300@50, "freq 1", ControlSpec(0, 2000, ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow