Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. Plfnoise0 Quark

    ... 0, env)) }).send(s); ) ( var a; a = Plfnoise0 (20, 0.0, 1.0, inf ).asStream; { loop { Synth ( \help_sinegrain , [ \freq , a.next * 600 + 300]); 0.02.wait; } }.fork; )

  2. SDrone Quark

    ... .kr(1)); var pos= \pos.kr({1.0.rand}!this.numChannels)%1*BufFrames.ir(buf); var loop= \loop.kr(1); var rand= Impulse.kr(1/BufDur.ir(buf)*rate*LFNoise1.kr(0.1, 0.2, 0.6), 0, 1-loop); ( PlayBuf.ar(1, buf, rate*BufRateScale.ir(buf), \trig.tr+r ...

  3. 013-attraction4 Quark

    ... , RedVector2D[1, 1], mass, mass*5); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ world.objects.do{|o, i| world.objects.do{|oo, j| if(i!=j, { o.addForce(o.gravityForce(oo)); if(o.loc.distance(oo.loc)<(o.size*2), { o.addForce(o.gr ...

  4. Plfnoise1 Quark

    ... 0, env)) }).send(s); ) ( var a; a = Plfnoise1 (20, 0.0, 1.0, inf ).asStream; { loop { Synth ( \help_sinegrain , [ \freq , a.next * 600 + 300]); 0.02.wait; } }.fork; )

  5. Plfnoise2 Quark

    ... 0, env)) }).send(s); ) ( var a; a = Plfnoise2 (20, 0.0, 1.0, inf ).asStream; { loop { Synth ( \help_sinegrain , [ \freq , a.next * 600 + 300]); 0.02.wait; } }.fork; )

  6. 044-pendulum-1d Quark

    ... 50) //world,loc,vel,acc,mass,size .theta_(-1).angularVel_(-0.5); }.dup(n); //--loop w.draw{ Pen.strokeColor= Color.white; Pen.width= 1; world.objects.do{|o| o.addForceAngular1D(world.gravity); //o.addForce(world.gravity); o.update; //world ...

  7. InfluxKtlLoop Quark

    // make an Influx with KtlLoop for gesture recording. ( q = q ? (); a = Influx([\x, \y], [\a, \b, \c,\d, \e, \f, \g, \h], (x: 0.5, y: 0.1)); q.iogui = InfluxIOWGui(a).moveTo(411, Window.screenBounds.height ); // Make a KtlLoop. Its function ...

  8. Pmsyn Quark

    ... ssible for the synthdef to change, // so we can't collect them once outside the loop // no good interface to get synthdesc... lib = event[\synthLib] ?? { SynthDescLib.global }; desc = lib[event[\instrument].asSymbol]; if(desc.notNil) { msgF ...

  9. ArduinoTSV Quark

    ... Stream, state; parse { msg = Array[]; msgArgStream = CollStream(); state = nil; loop { this.parseByte(port.read) }; } finishArg { var msgArg = msgArgStream.contents; msgArgStream.reset; if (msgArg.notEmpty) { msg = msg.add(msgArg); } } pars ...

  10. SimpleTransformer Quark

    ... r.asGetter, *args ) } { ^this.get( selector ); }; } rate { ^this.get( \rate ) } loop { ^this.get( \loop ) } size { ^this.get( \size ) } reset { |obj| // can use an object to get the defaults from this.args = this.defaults( obj ); } checkByp ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow