Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1234) Code (312) Doc (341) Help (126) Quark (454) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Key Doc

    ... ajor; a.tuning = \just; k = Key(a); Pbind( \scale, Pfunc({ k.scale }), \degree, Pseq([ Prand(k.scale.degrees, 20), Prout({ k.mode = \minor; 0.yield; }), Prand(k.scale.degrees, 20)], 1) ).play ) ⧉ ✔ helpfile source: /tmp/scquark_hs/TuningLib ...

  2. jitlib_basic_concepts_04 Help

    ... .05).dup }; // impulse uses tempo ~x = Pbind ( \instrument , \default , \freq , Pseq ([300, 400], inf )); // pattern uses tempoclock p.clock.tempo = 1.0; // set the tempo to 1 p.clock.tempo = 2.2; // set the tempo to 2.2 ~x.free; ~y.free; d ...

  3. AbstractPatchableNode Quark

    ... }; ^argLookup[key] } argAtPath { |path| var obj = this; var key, value; path = Pseq(path.asString.split($/).collect(_.asSymbol), 1).asStream; while { key = path.next; key.notNil and: { value = obj.tryPerform(\argAt, key); if(value.isNil) { ...

  4. Block Quark

    ... toPattern(1,0).play [d.toPattern(1), d.toPattern(2)].ppar(2).play Pdefn(\note1, Pseq([9,1,6,\rest], 1)); Pdefn(\note2, Pseq([\rest,2,1,0, 2], 1)); SynthFile.postAll(\point); SynthFile.read(\point).do{|item| SynthFile.read(\point, item).toSy ...

  5. EuroCollider Doc

    ... 25, \degree, Pxrand((0..6), inf), // determines the length of the gate \legato, Pseq([0.8, 0.2], inf), )).play; ) // stop pattern Pdef(\myEuroPattern).stop; // free resources e.clear; ⧉ ✔ Also check out EuroClockIn EuroClockOut for more exa ...

  6. PG_06d_Parallel_Patterns Doc

    ... tpar with separate groups for the subpatterns. An excellent example of Ppar and Pseq used together to structure an entire piece (Kraftwerk's "Spacelab") can be found in examples/pieces/spacelab.scd. Dynamic parallelizing Ppar and its cousin ...

  7. ChaosPatterns Plugin

    ... copy; lc=c.copy; ld=d.copy; li=i.copy; lu=u.copy; lv=v.copy; ln=n.copy; li=li ? Pseq([0.0], inf).asStream; loop { newu=lc * (lu.cubed * -0.33333333 - lv + lu + li.next) + lu; lv=ld * (lb * lu + la - lv) + lv; lu=newu; if ((lu > 1.0) || (lu ...

  8. TempoClick Doc

    ... ee, Pstutter(Pwhite(1, 4, inf), Pwhite(-2, 9, inf)) - #[0, 2, 4], \dur, Pwrand([Pseq(#[0.125, 0.375], 1), 0.25, 0.5, 0.75], #[1, 4, 3, 1].normalizeSum, inf), \sustain, max(0.12, Pkey(\dur) * Pwrand(#[0.2, 0.4, 0.8], #[0.6, 0.3, 0.1], inf)), ...

  9. preprocessor-generators Quark

    ... m: Rest(~items[0].item))]; // }; // "rest ++" also works if 'rest' is nil pat = Pseq(rest ++ ~items, 1); if(BP.exists(~bpKey) and: { ~parm != BP(~bpKey).defaultParm }) { pat = pat.collect { |ev, inEvent| if(ev[\item].isNil) { // incumbent o ...

  10. sctweets by redFrik by fredrik-olofsson (Fredrik Olofsson) Code

    ... eet0026 {CombL.ar(In.ar(8).tanh/8,1,1,8)!2}.play;Pbind(\amp,8,\dur,1/4,\degree,Pseq(List.fib(32)%(List.fib(64)%12),inf),\out,8).play//#SuperCollider //--tweet0027 play{GVerb.ar(ceil(In ar:8*4+4)-4/10)};Pbind(\dur,2,\legato,Pgeom(0.5,1. ...

prev 111 112 113 114 115 116 117 118 119 120 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow