Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (447) Code (33) Doc (84) Help (29) Quark (300) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Scheduling Events Help

    ... Two other kinds of clock exist: SystemClock , which always runs in seconds, and AppClock , which also runs in seconds but has a lower system priority (so it is better for graphic updates and other activities that are not time critical). Sch ...

  2. Boids Example by shouhei (xffff) Code

    ... rform(\fill); }; }; }; { while { run } { w.refresh; (1/24).wait;} }.fork(AppClock); w.onClose_({run=false}); )

  3. RedWindow Quark

    ... +1; frameDur= (nextTime-Main.elapsedTime).max(0.001); frameDur.wait; }); }.fork(AppClock); } frame {^playFrame?view.frame} frameRate {^if(frameDur.notNil, {1/frameDur}, {view.frameRate})} stop {isPlaying= false} resize {|redVec| view.bounds ...

  4. gui_example_userview_fft Quark

    ... e+(1/60); usr.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(AppClock); ) ~ibva.setFilterCutoff(0.5); ~ibva.setFilterCutoff(0.25); ~ibva.setFilterCutoff(0.75); ~ibva.sr= 200;

  5. LoadBalancer Quark

    ... |srv| srv.bootSync; bootDelay.wait; }); afterBootAction.value( this ); }.fork( AppClock ); } } bootSync { |condition| if( this.isLocal ) { condition ?? { condition = Condition.new }; condition.test = false; bootRoutine.stop; bootRoutine = ...

  6. PeriodicUpdater Doc

    ... ependants. clock Clock on which to perform the updates (UI interaction requires AppClock ) Inherited class methods Instance Methods . pull Immediately query the value and send updates if it has changed. . freq Get or set the update frequenc ...

  7. extOject Quark

    ... em.asString.docpost(doc); rrand(time-dev, time+dev).yield; }; action.(); }.fork(AppClock); } docforkln {arg doc, time=0.1, dev=0.01, action; var string; string = this ++ 10.asAscii; string.docfork(doc, time, dev, action); } docforkbr {arg d ...

  8. VirtualOrb Quark

    ... );\ window.refresh;\ rFps.wait\ \;\ colors[which] = color;\ window.refresh;\ \, AppClock).start;\ */ \ colors[which] = color;\ \window.refresh\.defer;\ \ \).add\ \ \

  9. 00_loadMe Quark

    ... ync; (q.hyperfolder +/+ "setup_files/6_HyperMasterFX.scd").loadPaths; }; }.play(AppClock);

  10. 00_load_myproj Quark

    ... me = 0; Pbind('degree', Pseries([0, 2, 4], 1, 8), 'dur', 0.125).play; }; }.play(AppClock);

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow