Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (394) Code (59) Doc (78) Help (6) Quark (250) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. 3D Scope by rukano (rukano) Code

    ... , char, xxx, code| if(code==32){ w.refresh; t = t.not; u.animate = t; } }; u = UserView(w, w.view.bounds); u.background = Color.black; u.animate = t; u.frameRate = 30; u.clearOnRefresh = false; u.drawFunc = { |view| var i = view.fra ...

  2. Draw your waveform feat. silly pattern player by rukano (rukano) Code

    ... side w = Window("Draw your waveform!", Rect(100, 100, 1024, 512)).front; u = UserView(w, w.view.bounds); // function that changes the array and the buffer, and makes some clipping f = { |x, y| x = x.clip(0, 1023); y = y.clip(0, 5 ...

  3. Generating Graphics and Music From The Dragon Curve by 56228375 (56228375) Code

    ... n = Window("Example Graphical LSystem", bounds:Rect(0,0,1000,700)); var view = UserView(win, win.view.bounds.insetBy(50,50)); var lsys = LSystem( iterations:12, axiom:"FX", constants:Set[], rules:(\X : "X+YF+", ...

  4. Graphical Tracker Functions by simon (Dindoléon) Code

    ... g the note's probability to be played. Can only be 0 and 1 here. - Instance of UserView, where the tracker will be drawn - Instance of Rect, coordinates where the tracker will be drawn - Integer value defining the margin between tracker' ...

  5. bufferdisplay by redfrik (redFrik) Code

    ... t= l; var w= Window("waveform", Rect(99, 99, width, height), false); var u= UserView(w, Rect(0, 0, width, height)); var w2= width*0.5; var h2= height*0.5; //--buffer b= Buffer.alloc(s, l, 1); s.sync; //--interface ~t ...

  6. DiamondSlider : custom unidimensionnal slider GUI. by simon (Dindoléon) Code

    ... _size[0], window_size[1]), false); win.background_( Color.black ); slider = UserView( win, Rect( margin, margin, window_size[0] - (margin*2), window_size[1] - (margin*2))); synth = {arg freq=110; SinOsc.ar(freq!2)}.play; slider.dr ...

  7. Synchronous control bus visualizer using the shared memory interface by rukano (rukano) Code

    ... ront; w.onClose = { #[aa,bb,cc,dd,ee].do{ |k| Ndef(k).end(3) }; }; u = UserView(w, w.view.bounds); u.background = Color.white; u.animate = true; u.clearOnRefresh = false; u.drawFunc = { var width = u.bounds.width; // P ...

  8. Graphic illustration of granular time-stretching by 0-7r (jamshark70) Code

    ... ; w = Window("granular windows", Rect(800, 200, viewWidth + 4, 450)); u = UserView(w, Rect(2, 2, viewWidth, 400)).front; u.background = Color.gray(0.1); indexSl = EZSlider(w, Rect(2, u.bounds.bottom + 2, viewWidth, 20), "Grain i ...

  9. Recursion-toy-like vines with Pen by uiae (uiae) Code

    ... restart)", Rect(10, 10, 700, 700) ); win.onClose = { run = false; }; view = UserView(win, 700@700).drawFunc_({ r.fUpdate }).clearOnRefresh_(false).mouseDownAction_({ |v,x,y| view.clearDrawing; r.fSpawn(x,y) }); win.front; { while { ru ...

  10. KickandBass by scottintokyo (Scott L Simon) Code

    ... tontest",Rect(100,100,450,350)); w.view.background = Color(0.8,0.0,01); u = UserView(w, Rect(300, 200,100, 100)); u.background = Color.black; u.animate = true; pt = Point(); r = Rect(); //w.view.decorator = FlowLayout(w.view.boun ...

prev 1 2 3 4 5 6 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow