Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (241) Code (11) Doc (45) Help (24) Quark (161) SCDoc ↗ Forum ↗ Google ↗
  1. BBCutProc11 Doc

    ... lock(lastval[0])).play; bbcutter.play(clock); //update tempo ten times a second SystemClock.sched(0.0,{clock.tempoclock.tempo_(lastval.at(0)); 0.1}); ) //If you want fast varying time signatures set phrasebars=1, //and provide interconnecte ...

  2. GUI-Introduction Doc

    ... ing with GUI objects is not allowed there. This includes: Code scheduled on the SystemClock and the TempoClock Code executed in response to OSC messages If you attempt to interact with a GUI object in the contexts listed above, an error wil ...

  3. ListeningClock Doc

    ... fault: \cos). This transition normally happens within the frame of reference of SystemClock (seconds), however a different clock may be passed in the clock argument. warpTempo (frac, beats, warp) Modify the tempo to a fraction (frac) of the ...

  4. Thread Doc

    ... ne, or in response to OSC and MIDI messages, the main Thread 's clock is set to SystemClock . When code scheduled on a Clock is run, that clock becomes the main Thread 's clock. Child Threads inherit the associated clock from their parents ...

  5. Debugging-tips Doc

    ... sometimes an indication of poor design. If this is the case, avoid them. a = 0; SystemClock.sched(2, { a.postln }); // crashes when scheduler fires the function ⧉ ✔ When a scheduled function executes, if it returns a number, the function wi ...

  6. Sync-Async Doc

    ... .rand; SynthDef(name, { arg out = 0; Out.ar(out, PinkNoise.ar(0.1)) }).send(s); SystemClock.sched(0.05, {Synth.new(name, s);}); // create a Synth after 0.05 seconds ) ⧉ ✔ Although this works, it's not very elegant or efficient. What would b ...

  7. Score Doc

    ... ; z.score_(x); ) // play it z.play; // play and stop after one second ( z.play; SystemClock.sched(1.0, { z.stop }); ) ⧉ ✔ creating Score from a pattern ( SynthDef("helpscore", { |out, freq = 440| Out.ar(out, SinOsc.ar(freq, 0, 0.2) * Line.k ...

  8. QuartzComposerView Doc

    ... = 0.25; i = 0; // m.setInputValue(\period, p); // m.maxFPS_(p.reciprocal * 2); SystemClock.sched(0.0, { b.getn(0, 256, { |buf| var z, x; z = buf.clump(2).flop; z = [Signal.newFrom(z[0]), Signal.newFrom(z[1])]; x = Complex(z[0], z[1]); // { ...

  9. ProcModR Doc

    ... ProcMod. clock An intance of Clock to run this instance of ProcMod. Defaults to SystemClock. server An instance of Server to run this ProcMod on. Useful for remote servers. Defaults to Server.default. recpath . initClass . new Arguments: en ...

  10. ProcMod Doc

    ... ProcMod. clock An intance of Clock to run this instance of ProcMod. Defaults to SystemClock. server an instance of Server to run this ProcMod on. Useful for remote servers. Defaults to Server.default. . midiDevices Inherited class methods I ...

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow