Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... nil, 0, 1/n*width) .coupling_(0.1/n) .freq_(0.1.rand) .phase_(2pi.rand) }; //--loop w.draw{ world.objects.do{|o| world.objects.do{|p| if(p!=o, { o.couple(p); }); }; }; world.objects.do{|o| o.update}; //--render Pen.width= 5; Pen.strokeColo ...

  2. XiiAutoloop Quark

    XiiAutoloop { var <>xiigui, <>win; *new { arg server=Server.default, channels=2, setting = nil; ^super.new.initXiiAutoloop(server, channels, setting); } initXiiAutoloop {arg server, channels, setting; var buffers, buffNum, buffLengths, play ...

  3. ParallelStreams Quark

    ... t.put(key, i) } }; stream = Ppar(patterns).asStream; whichStr = which.asStream; loop { index = whichStr.next(inval).asArray; outval = stream.next(inval); if(outval.isNil or: { index.isNil }) { nil.yield; ^inval }; if(index.includes(outval.a ...

  4. Arduino Quark

    ... serial-A1000ecP", 115200); p.action = { |... msg| msg.postln }; // thor reading loop ( fork { 100.do { p.send($r, $a); 0.1.wait; } } ) p.close; /// There is also ArduinoTSV for tab-separated values // e.g. in Arduino code: /* Serial.print(m ...

  5. README Quark

    ... tions, Issues, Feature Requests** [on GitHub](https://github.com/dathinaios/gameloop##github.com/dathinaios/gameloop/issues) # Installation GameLoop is available as a Quark. In superCollider run `Quarks.gui` for the Quarks interface. After ...

  6. Automation Quark

    ... ayback and set status this.privatePlay; playStatus = true; // run block{|break| loop{ // semaphore is still (or again) locked now = this.now; // external stop carried out? if (startTime < 0) { break.value; }; // someone changed the current ...

  7. p_interpolate Quark

    ... e ); }; }; hist = getNextVal.value.dup(3); val = getNextVal.value; nn = n.next; loop { unit.spec.map( switch( type.next, \step, { if( i < 0.5 ) { hist.last; } { val } }, \linear, { hist.last.blend( val, i ) }, \cubic, { cubic.( i, *hist.add ...

  8. complex-copy-paste Quark

    ... data from aftertouch + release shift to stop recording. + aftertouch recording (looped) is applied to that source for some param + double click shift key then sound source to remove recorded source param

  9. 178-springs_coupled Quark

    ... tWall, 0.07, 1); ~centerSpr= RedSpring(~leftObj, ~rightObj, 0.08, 0.99, 1); //--loop w.draw{ leftSpr.update; rightSpr.update; ~centerSpr.update2; ~leftObj.update; ~rightObj.update; if(list.size>height.div(2), {list.pop}); list.addFirst([~le ...

  10. 250-extra_params Quark

    ... ttractor= RedObject(nil, nil, RedVector2D[0, 0], RedVector2D[0, 0], 2, 60); //--loop w.draw{ var theta= w.frame*0.01; particles.do{|dict| var o= dict.obj; var force= o.gravityForce(attractor); var nl= o.age/5000; //lifetime normalized dict. ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow