Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (225) Code (25) Doc (78) Help (44) Quark (78) SCDoc ↗ Forum ↗ Google ↗
  1. 0coast-PatternSequencer Quark

    ... nf), \dur, Pfunc({2 * Pdef(\player).get(\mydur)}), \sustain, Pkey(\dur) * Pseq([Pseries(0.01, 0.01, 32)], inf), )).play ) Pdef(\playerB).gui

  2. PG_Cookbook08_Swing Doc

    ... value } + adjust; }; }; ev = ev.yield; }; }); ) ⧉ ✔ Examples p = Pbind(\degree, Pseries(0, 1, 8), \dur, 0.25); p.play; // straight 16ths // swingBase: 0.25: Every other 16th-note is delayed // swingAmount: 1/3: Off-beat notes will be delaye ...

  3. PlazyEnvirN Doc

    ... ( f = { |g = 0, h = 0, dur = 1| Pbind(\degree, Pseq([g, g, h, g, h], 2), \dur, Pseries(dur, 0.1)) }; // compare: a = Pchain(PlazyEnvirN(f), (g: [1, 2], h: 3, dur: 0.2)).trace(\degree).asStream; c = Pchain(Plazy(f), (g: [1, 2], h: 3, dur: 0 ...

  4. AbstractFunction Doc

    ... gation. . abs Absolute value a = { 10.rand - 10.rand }; b = a.abs; b.value; a = Pseries(3, -1.8, inf).abs; a.asStream.nextN(8); { a = LFNoise1.ar(1500); [a, a.abs] }.plot; ⧉ ✔ . asFloat a = { "123.471".scramble }; b = a.asFloat; b.value; ⧉ ...

  5. Tdef Help

    ... -1,0,0, \freq , rrand(600, 640)); 0.1.wait; }) }) ) ( Tdef ( \x , { var x; x = Pseries (300, 20, 100).loop.asStream; loop({ s.sendMsg( "/s_new" , "pdef_grainlet" , -1,0,0, \freq , x.next); 0.05.wait; }) }) ) ( Tdef ( \x , { var x; x = Plaz ...

  6. Ppatlace Doc

    ... // interlace two streams ( var c = Ppatlace([ Pseq([0, 0, 0, 0, 8, 0, 8], inf), Pseries(1, 1, 32) ], inf) + 67; x = c.asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, x.next.midicps, \dur, 0.2]); 0.17.wait; }) }).play; ) // a more ...

  7. Re: circling transpositions by luka (Luka P.) Code

    ... q([0],36),Pseq([4],36),Pseq([[-3]],36),Pseq([2],36)],inf), \ctranspose, Pser([Pseries(-4,1,4) +.x Pseq([0], 144)],2), \coef, Pseq([ Pseq([ Prand([0.2,0.3,0.4,0.5],1), Prand([0.6,0.5],5), Prand([0.2,0.3],1), Prand([0.6, ...

  8. PstepNadd Doc

    ... 40]) }), Plazy({ "pattern3.asStream".postln; Pseq([100, 200, 300]) }), Plazy({ Pseries(1, 1, 4) * 0.01 }) ).asStream; 150.do({ x.next.postln }); ) // if the last pattern loops it the combinatorics loop there: x = PstepNadd(Pseq([1, 2, 3]), ...

  9. Pchain Help

    ... eams can be composed ( a = Pfunc { |x| x + 1.33 }; b = Pfunc { |x| x * 3 }; c = Pseries (1, 2, inf ); ) // post some values from the composite streams: t = (a <> b).asStream; 10.do { t.value(10).postln }; t = (a <> b <> c).asStream; 10.do { ...

  10. ddwPatternLengthEstimation Quark

    ... en = min(len, pat.estimateLength); }; ^len } } // some have a length argument + Pseries { estimateLength { ^length } } + Pgeom { estimateLength { ^length } } + Pbrown { estimateLength { ^length } } + Pwhite { estimateLength { ^length } } + ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow