Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (317) Code (69) Doc (87) Help (34) Quark (127) SCDoc ↗ Forum ↗ Google ↗
  1. PG_04_Words_to_Phrases Doc

    ... mpo = 1; p = Pbind( \degree, Pswitch1([Pwhite(7, 14, inf), Pwhite(-7, 0, inf)], Pfunc { 0.7.coin.binaryValue }), \dur, 0.25 ).play; ) p.stop; ⧉ ✔ Compare to the following: ( p = Pbind( \degree, Pswitch([Pwhite(7, 14, inf), Pwhite(-7, 0, inf ...

  2. VarGui Doc

    ... Tasks can easily refer to environmental variables - in case of Pbinds e.g. via Pfunc, Plazy, Pcollect, but more conveniently via the dynamic scope PLx suite - so VarGui can control environmental variables and synth controllers. For using e ...

  3. AllBuf Doc

    ... (2, simple: true), \buffer, b.asPxrand(b.numBuffers), \loop, 0, \rate, 1, \dur, Pfunc({|ev| ev[\rate].reciprocal * ev[\buffer].duration}), \amp, 0.85 ) ).play; ⧉ ✔ helpfile source: /tmp/scquark_hs/AllBuf/HelpSource/Classes/AllBuf.schelp lin ...

  4. Server_Tutorial Doc

    ... ait = Pseq([2],inf).asStream; freq = Pseq([30,40,42,40],inf).asStream; cutoff = Pfunc({500.rand2+1000}).asStream; rezz = 0.5; inf.do({ saw.set("freq", freq.next.midicps, "cutoff", cutoff.next, "rezz", rezz, "amp", 0.1, "out", 0); (wait.next ...

  5. Tutorial Doc

    ... ait = Pseq([2],inf).asStream; freq = Pseq([30,40,42,40],inf).asStream; cutoff = Pfunc({500.rand2+1000}).asStream; rezz = 0.5; inf.do({ saw.set("freq", freq.next.midicps, "cutoff", cutoff.next, "rezz", rezz, "amp", 0.1, "out", 0); (wait.next ...

  6. PSloop Doc

    ... ck indices given as Function Ex.3c: lookBack indices given as Pattern Ex.4a: loopFunc given as Function Ex.4b: loopFunc given as Pattern Ex.4c: loopFunc vs. goFunc Ex.4d: Turning loopFunc and goFunc on and off Ex.5: PSloops controlling diff ...

  7. PG_02_Basic_Vocabulary Doc

    ... i) . Pbrown(lo, hi, step, length) Brownian motion, arithmetic scale (addition). Pfunc(nextFunc, resetFunc) Get the stream values from a user-supplied function. Pfuncn(func, repeats) Get values from the function, but stop after repeats items ...

  8. Buffer_Granulation Doc

    ... es. On the contrary repeated evaluation of an interpreter variable, e.g. from a Pfunc, is unsafe - variable's value could change while gui has not yet been closed - so in concerned examples values are passed to the event definition, in Ex.2 ...

  9. Interface Doc

    ... t, 1.0) * EnvGen.kr(envadsr, gate,amp,doneAction: 2 ) },[ sample, // dur uses a Pfunc to ask the delta till the next event Pfunc({ arg igs; (igs.delta * 0.9) }), // get an .ir input into the synth function ~pchRatio = IrNumberEditor(1.0,[-2 ...

  10. Syntax-Shortcuts Doc

    ... do { |x| x.play } while({ a < b }, { a = a * 2 }) while { a < b } { a = a * 2 } Pfunc({ rrand(3, 6) }) Pfunc { rrand(3, 6) } NOTE: Trailing arguments must be literal blocks. No other expression may be used as a trailing argument, even if it ...

prev 1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow