Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. 00-Getting-Started-With-SC Doc

    ... 13. Buffers Scheduling and Sequencing 14. Scheduling Events 15. Sequencing with Routines and Tasks 16. Sequencing with Patterns helpfile source: /usr/local/share/SuperCollider/HelpSource/Tutorials/Getting-Started/00-Getting-Started-With-SC. ...

  2. Frame Doc

    ... could result. Frame instances are inaccessible to the user. For error handling routines, the relevant information from a Frame can be transferred into a DebugFrame object which can safely be inspected. this.getBackTrace.inspect ⧉ ✔ Class M ...

  3. OSCEvent Quark

    ... .yield } action {} // needed to patch into current OSCresponder set up } /* r = Routine({ var ev; ev = OSCEvent(nil,'/n_go'); a = ev; loop { ev.wait; ev.msg.postln; ev.respAddr.postln; } }); r.reset.next ( ).play OSCresponder.all r.stop (). ...

  4. Dawn by schemawound (Schemawound) Code

    ... ,30), Rand(0.1,30)), doneAction: 2) ) } ).send(s); ) ( r = Routine({ 200.do({ x = Synth.new("additivePad"); 10.wait; }); }); ) r.play;

  5. UDragBin Quark

    ... ds.moveTo(0,0).insetBy(1,1), 3 ); Pen.stroke; if( task.isPlaying.not ) { task = Routine({ while { vw.isClosed.not && { canReceiveDragHandler.value == true } } { 0.25.wait; }; if( vw.isClosed.not ) { vw.refresh; }; }).play( AppClock ); }; }; ...

  6. PG_01_Introduction Help

    ... et a continually increasing series. Writing everything out, it looks like this. Routine is used because this is a control structure that can interrupt what it's doing and remember where it was, so that it can pick up again at exactly that p ...

  7. Button Doc

    ... mdPeriod.removeAll }; // clean up when window is closed w.front; }) ) ⧉ ✔ Using Routine to set button states on the fly. ( var update, w, b; w = Window.new("State Window", Rect(150, Window.screenBounds.height - 140, 380, 60)); // a convenie ...

  8. SPlayFileView Quark

    ... es; if(start==end, {end= 1}); spf.start= start; spf.end= end; }; cursorUpdater= Routine({ var lastFrame= 0; inf.do{ var f= spf.frame; if(f!=lastFrame, { lastFrame= f; waveView.timeCursorPosition= f; }); (1/fps).wait; }; }).play(AppClock); } ...

  9. RedSampler Quark

    ... ln; a.prepareForPlay(sf.path, sf.path, sf.numFrames.rand, len); sf.close; }; r= Routine .run{ 1.wait; inf .do{ a.play(a.loadedKeys.choose.postln, 4, 2.rrand(6), 4, loop:2); 2.rrand(5).wait; }; }; ) r.stop; a.free; //--example that chops up ...

  10. ddwOSCSyncClocks Quark

    ... atsPerBar, this.baseBarBeat]); } startAliveThread { if(thread.isNil) { thread = Routine { // var testStream = Pseq([Pn(0, 200), Pn(1, inf)]).asStream; loop { // randomized sync times, to avoid contention at integer valued beats // stealing ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow