Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5475) Code (807) Doc (1945) Help (663) Quark (2016) Plugin (44) SCDoc ↗ Forum ↗ Google ↗
  1. buffer-play Quark

    ... @1 == radpost == Ndef('block1', {arg rate=1 , trigger=1 , startPos=0 , mul=1 ; PlayBuf.ar(~buffer0.numChannels, ~buffer0, rate, trigger, startPos.linlin(0,1,0, ~buffer0.numFrames), 1)*mul;}); == radpostcont == (none) >> pl 2 @1 == radpost ...

  2. ClockFaceCP Quark

    ... / ClockFaceCP { var <window, <starttime, <tempo, <>inc, <>bounds, <cursecs, <>isPlaying = false, clock, timeString; *new{ arg window, starttime = 0, tempo = 1, inc = 0.1, bounds = Rect(0, 0, 209, 20); ^super.newCopyArgs(window, starttime, t ...

  3. 150-track_synth Quark

    //if preferred freq match with the human +-100 then play sound and move towards target //sound: audio input, matching agent's sounds ( s.waitForBoot{ var width= 640, height= 480, w, world, n= 20, syn, bus, human; //--world w= RedWindow("tra ...

  4. Timeline Quark

    ... tionList = functionList.add(time); functionList = functionList.add(function); } play { this.reloadPath; this.applyOffset(options.offset); functionList.pairsDo{arg time, function; this.sched(this.time(time), function); } } quantValue { if(op ...

  5. score playback control 2 Quark

    ... , 0, { "done".postln } ); z.start( s, 0, true ); z.pause; // looped events keep playing z.resume; z.stop; z.start( s, 0, false ); // takes extra wait time for preparing events (depends on content) z.pos; // returns current position (keeps i ...

  6. 016-repulsive2 Quark

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

  7. 045-pendulum4 Quark

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

  8. 052-boids3 Quark

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

  9. 110-bounce_objects Quark

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

  10. RedTapTempoGUI Quark

    ... cus, RedButton(nil, nil, "sync").action_{|view| task.stop; task= this.prRoutine.play(clock); }.maxHeight_(lh), HLayout( bpmView= RedNumberBox().value_(clock.tempo*60).action_{|view| var bps= (view.value/60).round(0.0001); clock.tempo= bps; ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow