Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (642) Code (56) Doc (227) Help (20) Quark (339) SCDoc ↗ Forum ↗ Google ↗
  1. XiiRecorder Quark

    ... ame, point; var txtv, r, filename, timeText, secTask; var stereoButt, monoButt, cmdPeriodFunc; var vuview, ampslider, responder; var amp, ampAnalFunc; numChannels = channels; filename = ""; name = "- recorder -"; s = server ? Server.default ...

  2. sound_gui_example_filters_and_fft Quark

    ... v.sqrt.lag(lag)); //smooth and clip }); }).load; bus= Bus.control(s, numBins); CmdPeriod.doOnce({bus.free}); s.sync; ~synth.free; ~synth= Synth(\fft, [\bus, bus]); s.sync; ~sequencer.dataAction= {|num, data, accel| s.bind{~synth.set(\data, ...

  3. 040-pendulum Quark

    ... n.addOval(Rect.aboutPoint(ploc, o.size/5, o.size/5)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); ) /* //manual control a.addForceAngular2D(30) a.addForceAngular2D(5) a.addForceAngular2D(-5) */

  4. 016-repulsive2 Quark

    ... //--render Pen.addRect(Rect.aboutRedObject2D(o)); }); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); )

  5. 045-pendulum4 Quark

    ... n.addOval(Rect.aboutPoint(ploc, o.size/5, o.size/5)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); )

  6. 052-boids3 Quark

    ... Color.grey(1-(i/n), 0.5); Pen.fillOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  7. 110-bounce_objects Quark

    ... o); //--render Pen.addOval(Rect.aboutRedObject2D(o)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce({w.close}); )

  8. 020-friction Quark

    ... trokeColor= Color.white; Pen.strokeRect(Rect.aboutRedObject2D(obj)); }; w.play; CmdPeriod.doOnce({w.close}); )

  9. Log Quark

    ... n(\LogWindow, name); window.layout_(VLayout(textView).margins_(5).spacing_(0)); CmdPeriod.add(this); this.connect(); window.onClose_({ this.disconnect(); window = nil; textView = nil; CmdPeriod.remove(this); textViewSize = 0; }); }.defer(); ...

  10. AudioMulchClock Quark

    ... pulse= OSCresponderNode(nil, \t_pulse, {|t, r, m| this.doPulse(t,r,m); }).add; CmdPeriod.doOnce {this.clear}; } doPulse {|t,r,m| var time, avgs; tick = m[1]-shift; avg.put(tick%10, Main.elapsedTime-lastTime); lastTime = Main.elapsedTime; a ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow