Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (535) Code (6) Doc (245) Help (16) Quark (266) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. RecCutProc Quark

    ... ubdiv; //calculate blocks list for this phrase offsetlist= rcd.offsetseq; }); //render block next=offsetlist.at(block); blocklength=next.at(0)*primitive; cuts=[blocklength]; this.updateblock; //proportionate- will be taken as percentage thr ...

  2. OffsetCP Quark

    ... offset=(nextblock.at(1))*(offsetscale.value); //offsets are now decided by cut renderer bbcutsynth.setoffset(offset,currphraselength); this.updateblock; this.endBlockAccounting; } }

  3. TimelineCut Quark

    ... ,{}); //bbcutsynth.setoffset(currform[block]); //offsets are now decided by cut renderer bbcutsynth.chooseoffset(phrasepos,beatspersubdiv,currphraselength); this.updateblock; this.endBlockAccounting; } }

  4. VirtualRoom Quark

    ... VirtualEnvironment Provides a virtual room with sources, listener and binaural rendering */ VirtualRoom { // the path to Kemar classvar <>kemarPath = "KemarHRTF/"; // the node proxies var <>encoded, <>bin, <>out, <>revIn; // maximum of sou ...

  5. 177-springs_double Quark

    ... e; trg.update; world.contain(obj); world.contain(obj2); world.contain(trg); //--render Pen.strokeColor= Color.grey; Pen.line(obj.loc.asPoint, trg.loc.asPoint); Pen.line(obj2.loc.asPoint, trg.loc.asPoint); Pen.stroke; Pen.fillColor= Color.re ...

  6. 018-repulsive_discrete Quark

    ... ity); //add gravity o.update; world.contain(o); //keep within world borders //--render Pen.fillColor= Color.hsv(o.mass/25%1, 1, 1, (o.vel.mag*0.5).min(1)); Pen.fillRect(Rect.aboutPoint(o.loc.round.asPoint*[wn, hn], pixelSize, pixelSize)); } ...

  7. test UScoreEditor rendering Quark

    // 1 event with 10 seconds duration ( r = UChain(0,0,10,false,[\sine,[\freq,rrand(200.0,500.0)]], \output).fadeOut_(1).fadeIn_(1); z = UScore(r); if( z.finiteDuration != 10) { "finiteDuration should be 10".throw }; x = UScoreEditor(z); y = ...

  8. 004-multiple_synth Quark

    ... [\freq, freq, \maxDur, osize, \amp, amp, \pan, pan]); }); world.contain(o); //--render Pen.strokeColor= Color.grey(o.mass/4, 0.7); Pen.strokeOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); })

  9. 160-growth Quark

    ... vel.asPoint.rotate(0.5.rand2).asRedVector2D; o.update; world.contain(o); }; //--render all objects world.objects.do{|o, i| //iterate all objects in this world Pen.addRect(Rect.aboutRedObject2D(o)); }; Pen.stroke; }; w.play; CmdPeriod.doOnce ...

  10. 005-multiple_synth Quark

    ... [\freq, freq, \maxDur, osize, \amp, amp, \pan, pan]); }); world.contain(o); //--render Pen.strokeRect(Rect.aboutRedObject2D(o)); Pen.fillRect(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); })

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow