Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (556) Code (37) Doc (146) Help (56) Quark (314) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. SystemClock Doc

    ... rn specifies the delta to resched the function for. Returning nil will stop the task from being rescheduled. ( SystemClock.sched(0.0, { |time| time.postln; rrand(0.1, 0.9); }); ) ⧉ ✔ ( SystemClock.sched(2.0, { "2.0 seconds later".postln; ni ...

  2. Sync-Async Doc

    ... ate and on a certain schedule, in order to avoid dropouts, glitches, etc. Other tasks, such as loading a sample into memory, might take arbitrary amounts of time, and may not be needed within a definite timeframe. This is the difference bet ...

  3. 092-livecoding-worlds Doc

    ... , ~mix); //move all to new world ~win.resize(~world.dim); //resize window ) //--task xfade ( { 50.do{|i| ~mix= RedUniverse.interpolate(~black, ~blue, i/49); ~world= RedUniverse.migrateAll(~world, ~mix); ~win.resize(~world.dim); 0.1.wait; } ...

  4. Format-Exchange Doc

    ... oding FOA to HOA1 , we'll use the FOA toolset to target HOA1. The tools for the task are: ordering & normalisation : FoaDecoderMatrix: *newHoa1 reference radius : FoaNFC The steps are: reset FOA reference radius from inf to 1.5 meters decod ...

  5. MHexPad Doc

    ... .flat.do(_.ledVal_(1)); h.flat.do(_.ledVal_(0)); h.flat.do(_.vShiftLabel_(10)); Task { 100.do { |i| defer { h.flat.do(_.angle_(i * 0.1)) }; 0.1.wait; } }.play; h[0][0].ledColors.put(0, Color.black); h[0][0].refresh; h[0][0].ledVal = 3.rand; ...

  6. LemurClient Doc

    ... "Update a fader", "Fader1", 600, 200, 100, 724); // Automate to move p = 0; t = Task({ loop { l.fader("Update a fader", "Fader1", p); p=p+50%924; 0.2.wait; }}).play; t.stop; // Add 30 faders to Lemur on a new page. l.page("Bunch of faders") ...

  7. Spawning Doc

    ... ts OS thread ⧉ ✔ For convenience pauseable scheduling can be implemented with a Task . Task.new takes two arguments, a function and a clock, and creates it's own Routine . If you don't specify a clock, it will create a TempoClock for you. S ...

  8. 14-Scheduling-Events Doc

    ... t makes sense to schedule objects that will take some action . Function Routine Task ⧉ ✔ Routines and Tasks will be covered in the next section, and Functions we have already seen. There are some others, but these are the best starting poin ...

  9. Wavesets Doc

    ... ntFor minima frameFor analyse analyseFromTo calcAverages toBuffer plot Examples Task Examples (extension) GranularSynthesis Wavesets Extension analyse soundfiles into short fragments for granular synthesis See also: Buffer , Event Descripti ...

  10. SlaveTempoClock Doc

    ... argTempo , argStartingTime ) - nextTimeOnGrid ( quant: 1 , phase: 0 ) - play ( task , quant: 1 ) - sched ( delta , function ) - schedAbs ( beat , function ) - secs2beats ( secs ) - tempo - tempo = value Help template Copy and paste the tex ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow